Skip to content

Commit

Permalink
chore(contracts): add gas reporter to hardhat config
Browse files Browse the repository at this point in the history
Ensure we can reliably understand how much gas is consumed by each function call.
  • Loading branch information
ctrlc03 committed Jan 14, 2024
1 parent 687f138 commit fd00eb5
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions contracts/hardhat.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,10 @@ const config: HardhatUserConfig = {
pages: "files",
exclude: ["./trees/zeros"],
},
gasReporter: {
currency: "USD",
enabled: true,
},
};

export default config;

0 comments on commit fd00eb5

Please sign in to comment.