Add optional gas reporting to unit test run#626
Merged
Conversation
|
5e3f27c to
d9dd203
Compare
added 3 commits
April 27, 2021 22:31
Selectively enable gas reporter based on ENABLE_GAS_REPORT env var
d9dd203 to
02ee5e5
Compare
InoMurko
pushed a commit
to omgnetwork/optimism
that referenced
this pull request
May 25, 2021
* Add hardhat-gas-reporter package and base config * Generate an output file from gas reporter when run in CI Selectively enable gas reporter based on ENABLE_GAS_REPORT env var * Add gas reports to integration tests
agusduha
pushed a commit
that referenced
this pull request
Oct 3, 2025
theochap
pushed a commit
that referenced
this pull request
Dec 10, 2025
Co-authored-by: github-merge-queue <118344674+github-merge-queue@users.noreply.github.com>
emhane
pushed a commit
that referenced
this pull request
Feb 4, 2026
emhane
pushed a commit
that referenced
this pull request
Feb 4, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Adds hardhat-gas-reporter package and base configuration to unit and integration test runs. Disabled by default, enabled via
ENABLE_GAS_REPORTenvironment variable.Note that I investigated using
codechecksfor better report presentation and also benchmarking gas cost diff againstmasterin CI however the owner of thatkrzkaczorsaid it's going be decommissioned in near future so didn't want to integrate us with "abandonware" :)Metadata
Resulted from investigating issue #500 and the need to benchmark gas costs on L1