Skip to content

Commit

Permalink
Update contract sizer plugin configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
evercoinx committed Sep 4, 2024
1 parent 54e78c2 commit 8a022ed
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
6 changes: 3 additions & 3 deletions hardhat.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ const config: HardhatUserConfig = {
contractSizer: {
alphaSort: false,
disambiguatePaths: false,
runOnCompile: true,
runOnCompile: false,
strict: true,
except: [
"@openzeppelin/",
Expand All @@ -215,6 +215,8 @@ const config: HardhatUserConfig = {
],
},
gasReporter: {
currency: "USD",
enabled: REPORT_GAS,
excludeContracts: [
"@openzeppelin/",
"interfaces/",
Expand All @@ -223,8 +225,6 @@ const config: HardhatUserConfig = {
"state-transfer",
"tunnel",
],
currency: "USD",
enabled: REPORT_GAS,
},
};

Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
"test:ci": "hardhat test --parallel",
"cover": "rimraf coverage && hardhat coverage",
"gas": "cross-env REPORT_GAS=1 npm run test",
"size": "hardhat size-contracts",
"analyze": "slitherin . --slither",
"analyze:ci": "slitherin --separated . --skip-clean --ignore-compile",
"clean": "hardhat clean && rimraf coverage cache crytic-{corpus,export} mochaOutput.json testMatrix.json",
Expand Down

0 comments on commit 8a022ed

Please sign in to comment.