hardhat-gas-reporter icon indicating copy to clipboard operation
hardhat-gas-reporter copied to clipboard

Gas Usage Analytics for Hardhat

Results 63 hardhat-gas-reporter issues
Sort by recently updated
recently updated
newest added

Latest hardhat and latest hardhat gas reporter results in 1) Uncaught error outside test suite with zero config setup, and with config setup. Node LTS v14.15.1

Hey. Trying to figure out why gas-report is showing inconsistent gas reporting per unit test. The averages box seems correct, but the gas reported per test seems off/wrong? I'm using...

# Description I have the following set up: 1. Library with pure internal methods 2. Mock contract that exposes the library's internal methods For which I'm getting no gas report:...

Cross-reporting from [eth-gas-reporter 244][1] Triage notes: Possible solution is to duplicate [the proxy provider][1] logic for Ethers in hardhat-gas-reporter's [provider wrapper][2] [1]: https://github.com/nomiclabs/hardhat/pull/1024/files#diff-426be0aa67ff17d3167ae9666479f491be1882b95c9d31e6794a71406472a05dR14-R28 [2]: https://github.com/cgewecke/hardhat-gas-reporter/blob/97258f99e9a7d6bfa1852363e7ba92beb20f64f3/src/providers.ts#L7-L14 [1]: https://github.com/cgewecke/eth-gas-reporter/issues/244

bug

When both are specified in hardhat.config.js using version 1.0.4 ``` require('@eth-optimism/smock/build/src/plugins/hardhat-storagelayout'); require("hardhat-gas-reporter"); ``` It's impossible to create mocks like this: ``` const MyMock = await ethers.getContractFactory( "MyMockContract" ); const mock...

...and a corresponding column in the table that lets you map these visually to specific files This could be useful for 1:1 comparisons, now that compilation is so configurable and...

The format for the table output at the command line needs to be reworked so it resembles the Markdown table used by codechecks. The qualified names are long and everything's...

Should be able to get `tx.input` from the `data` in the `eth_sendTransaction` payload and reduce reqs by 1. Then fetch the receipt from the tx hash returned by the call....

Would be really nice to have an option to print output both to stdout and file, instead of having to choose either one at a time