fix: ignore warnings from fx-portal lib (#3761)

pull/3762/head
Paul Balaji 6 months ago committed by GitHub
parent 20eccf3d21
commit 78d3e62dc7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 1
      solidity/foundry.toml
  2. 7
      solidity/hardhat.config.cts
  3. 1
      solidity/package.json
  4. 146
      yarn.lock

@ -11,6 +11,7 @@ evm_version= 'paris'
optimizer = true
optimizer_runs = 999_999
fs_permissions = [{ access = "read-write", path = "./"}]
ignored_warnings_from = ['fx-portal']
[profile.ci]
verbosity = 4

@ -2,6 +2,7 @@ import '@nomiclabs/hardhat-ethers';
import '@nomiclabs/hardhat-waffle';
import '@typechain/hardhat';
import 'hardhat-gas-reporter';
import 'hardhat-ignore-warnings';
import 'solidity-coverage';
/**
@ -30,4 +31,10 @@ module.exports = {
bail: true,
import: 'tsx',
},
warnings: {
// turn off all warnings for libs:
'fx-portal/**/*': {
default: 'off',
},
},
};

@ -21,6 +21,7 @@
"ethers": "^5.7.2",
"hardhat": "^2.22.2",
"hardhat-gas-reporter": "^1.0.9",
"hardhat-ignore-warnings": "^0.2.11",
"prettier": "^2.8.8",
"prettier-plugin-solidity": "^1.1.3",
"solhint": "^4.5.4",

@ -5003,6 +5003,7 @@ __metadata:
fx-portal: "npm:^1.0.3"
hardhat: "npm:^2.22.2"
hardhat-gas-reporter: "npm:^1.0.9"
hardhat-ignore-warnings: "npm:^0.2.11"
prettier: "npm:^2.8.8"
prettier-plugin-solidity: "npm:^1.1.3"
solhint: "npm:^4.5.4"
@ -14980,6 +14981,17 @@ __metadata:
languageName: node
linkType: hard
"hardhat-ignore-warnings@npm:^0.2.11":
version: 0.2.11
resolution: "hardhat-ignore-warnings@npm:0.2.11"
dependencies:
minimatch: "npm:^5.1.0"
node-interval-tree: "npm:^2.0.1"
solidity-comments: "npm:^0.0.2"
checksum: b249e02dbc207a40cb3090577c0f972b52f233b062ebafed413e70454ad389f991f32a8fda582f32d87f6057886e529a9f58ff6abb604d3294f7f4697a6dcb16
languageName: node
linkType: hard
"hardhat@npm:^2.22.2":
version: 2.22.2
resolution: "hardhat@npm:2.22.2"
@ -18103,6 +18115,15 @@ __metadata:
languageName: node
linkType: hard
"minimatch@npm:^5.1.0":
version: 5.1.6
resolution: "minimatch@npm:5.1.6"
dependencies:
brace-expansion: "npm:^2.0.1"
checksum: 126b36485b821daf96d33b5c821dac600cc1ab36c87e7a532594f9b1652b1fa89a1eebcaad4dff17c764dce1a7ac1531327f190fed5f97d8f6e5f889c116c429
languageName: node
linkType: hard
"minimist-options@npm:^4.0.2":
version: 4.1.0
resolution: "minimist-options@npm:4.1.0"
@ -18892,6 +18913,15 @@ __metadata:
languageName: node
linkType: hard
"node-interval-tree@npm:^2.0.1":
version: 2.1.2
resolution: "node-interval-tree@npm:2.1.2"
dependencies:
shallowequal: "npm:^1.1.0"
checksum: da3b54b12720fa20a939a24dfb890b54f29c1c939a837e89d6197cbb96701f65279786a05843ac99ded60e8362cc48fda4ac2466a2e65a34b3fb84b648487d9f
languageName: node
linkType: hard
"node-releases@npm:^2.0.14":
version: 2.0.14
resolution: "node-releases@npm:2.0.14"
@ -21382,6 +21412,13 @@ __metadata:
languageName: node
linkType: hard
"shallowequal@npm:^1.1.0":
version: 1.1.0
resolution: "shallowequal@npm:1.1.0"
checksum: f4c1de0837f106d2dbbfd5d0720a5d059d1c66b42b580965c8f06bb1db684be8783538b684092648c981294bf817869f743a066538771dbecb293df78f765e00
languageName: node
linkType: hard
"shebang-command@npm:^1.2.0":
version: 1.2.0
resolution: "shebang-command@npm:1.2.0"
@ -21683,6 +21720,20 @@ __metadata:
languageName: node
linkType: hard
"solidity-comments-darwin-arm64@npm:0.0.2":
version: 0.0.2
resolution: "solidity-comments-darwin-arm64@npm:0.0.2"
conditions: os=darwin & cpu=arm64
languageName: node
linkType: hard
"solidity-comments-darwin-x64@npm:0.0.2":
version: 0.0.2
resolution: "solidity-comments-darwin-x64@npm:0.0.2"
conditions: os=darwin & cpu=x64
languageName: node
linkType: hard
"solidity-comments-extractor@npm:^0.0.7":
version: 0.0.7
resolution: "solidity-comments-extractor@npm:0.0.7"
@ -21690,6 +21741,101 @@ __metadata:
languageName: node
linkType: hard
"solidity-comments-freebsd-x64@npm:0.0.2":
version: 0.0.2
resolution: "solidity-comments-freebsd-x64@npm:0.0.2"
conditions: os=freebsd & cpu=x64
languageName: node
linkType: hard
"solidity-comments-linux-arm64-gnu@npm:0.0.2":
version: 0.0.2
resolution: "solidity-comments-linux-arm64-gnu@npm:0.0.2"
conditions: os=linux & cpu=arm64 & libc=glibc
languageName: node
linkType: hard
"solidity-comments-linux-arm64-musl@npm:0.0.2":
version: 0.0.2
resolution: "solidity-comments-linux-arm64-musl@npm:0.0.2"
conditions: os=linux & cpu=arm64 & libc=musl
languageName: node
linkType: hard
"solidity-comments-linux-x64-gnu@npm:0.0.2":
version: 0.0.2
resolution: "solidity-comments-linux-x64-gnu@npm:0.0.2"
conditions: os=linux & cpu=x64 & libc=glibc
languageName: node
linkType: hard
"solidity-comments-linux-x64-musl@npm:0.0.2":
version: 0.0.2
resolution: "solidity-comments-linux-x64-musl@npm:0.0.2"
conditions: os=linux & cpu=x64 & libc=musl
languageName: node
linkType: hard
"solidity-comments-win32-arm64-msvc@npm:0.0.2":
version: 0.0.2
resolution: "solidity-comments-win32-arm64-msvc@npm:0.0.2"
conditions: os=win32 & cpu=arm64
languageName: node
linkType: hard
"solidity-comments-win32-ia32-msvc@npm:0.0.2":
version: 0.0.2
resolution: "solidity-comments-win32-ia32-msvc@npm:0.0.2"
conditions: os=win32 & cpu=ia32
languageName: node
linkType: hard
"solidity-comments-win32-x64-msvc@npm:0.0.2":
version: 0.0.2
resolution: "solidity-comments-win32-x64-msvc@npm:0.0.2"
conditions: os=win32 & cpu=x64
languageName: node
linkType: hard
"solidity-comments@npm:^0.0.2":
version: 0.0.2
resolution: "solidity-comments@npm:0.0.2"
dependencies:
solidity-comments-darwin-arm64: "npm:0.0.2"
solidity-comments-darwin-x64: "npm:0.0.2"
solidity-comments-freebsd-x64: "npm:0.0.2"
solidity-comments-linux-arm64-gnu: "npm:0.0.2"
solidity-comments-linux-arm64-musl: "npm:0.0.2"
solidity-comments-linux-x64-gnu: "npm:0.0.2"
solidity-comments-linux-x64-musl: "npm:0.0.2"
solidity-comments-win32-arm64-msvc: "npm:0.0.2"
solidity-comments-win32-ia32-msvc: "npm:0.0.2"
solidity-comments-win32-x64-msvc: "npm:0.0.2"
dependenciesMeta:
solidity-comments-darwin-arm64:
optional: true
solidity-comments-darwin-x64:
optional: true
solidity-comments-freebsd-x64:
optional: true
solidity-comments-linux-arm64-gnu:
optional: true
solidity-comments-linux-arm64-musl:
optional: true
solidity-comments-linux-x64-gnu:
optional: true
solidity-comments-linux-x64-musl:
optional: true
solidity-comments-win32-arm64-msvc:
optional: true
solidity-comments-win32-ia32-msvc:
optional: true
solidity-comments-win32-x64-msvc:
optional: true
checksum: a39b0340c964f2a13594bc34c36656072abfb3cac459f6ca3611aedbbb2ff82d2821e99bfa2cff083af10409b49396c844e55b13acde81ba2758363fa82a6ea8
languageName: node
linkType: hard
"solidity-coverage@npm:^0.8.3":
version: 0.8.3
resolution: "solidity-coverage@npm:0.8.3"

Loading…
Cancel
Save