Skip to content

Commit

Permalink
Add gas reporter
Browse files Browse the repository at this point in the history
  • Loading branch information
boyuanx committed Feb 14, 2024
1 parent d4cbdc9 commit ab033f4
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 394 deletions.
4 changes: 4 additions & 0 deletions hardhat.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ import '@matterlabs/hardhat-zksync-solc'
import '@matterlabs/hardhat-zksync-verify'
import '@openzeppelin/hardhat-upgrades'
import 'solidity-docgen'
import 'hardhat-gas-reporter'

if (process.env.NODE_ENV !== 'PRODUCTION') {
config()
Expand Down Expand Up @@ -249,5 +250,8 @@ export default {
docgen: {
pages: 'files',
exclude: ['libraries', 'mock']
},
gasReporter: {
enabled: true
}
}
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@
"hardhat-contract-sizer": "2.10.0",
"hardhat-deploy": "^0.11.43",
"hardhat-storage-layout": "0.1.7",
"hardhat-gas-reporter": "^1.0.10",
"husky": "8.0.3",
"lint-staged": "15.0.2",
"prettier": "3.0.3",
Expand Down
Loading

0 comments on commit ab033f4

Please sign in to comment.