Skip to content

Commit

Permalink
add the option to disable gas report
Browse files Browse the repository at this point in the history
  • Loading branch information
cromatikap committed Jul 14, 2024
1 parent a68539c commit eac5ffd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ npm install
### Tests & cleaning

```sh
npm run test
npm run test # Pass env var REPORT_GAS=false to deactivate gas reporting
npm run prettier
npm run lint
```
Expand Down
2 changes: 1 addition & 1 deletion hardhat.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ const config: HardhatUserConfig = {
}
},
gasReporter: {
enabled: true,
enabled: process.env.REPORT_GAS != 'false',
currency: 'EUR',
gasPrice: 1,

Expand Down

0 comments on commit eac5ffd

Please sign in to comment.