chore(deps): update dependency hardhat-gas-reporter to v2 #35
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.
This PR contains the following updates:
^1.0.8
->^2.0.0
Release Notes
cgewecke/hardhat-gas-reporter (hardhat-gas-reporter)
v2.2.2
: Support solc 0.8.28 featuresCompare Source
What's Changed
New Contributors
Full Changelog: cgewecke/hardhat-gas-reporter@v2.2.1...v2.2.2
v2.2.1
: Fix L1 Etherscan api key logicCompare Source
Bug Fixes
Recently, Etherscan began requiring an api key to fetch live
gasPrice
andbaseFee
data for Ethereum mainnet. This release fixes a bug in the way theL1Etherscan
api key option was set which caused those data calls to fail.L1Etherscan
option logic by @cgewecke in https://github.com/cgewecke/hardhat-gas-reporter/pull/240Full Changelog: cgewecke/hardhat-gas-reporter@v2.2.0...v2.2.1
v2.2.0
: Gas Golfing SupportCompare Source
New
This release adds a
trackGasDeltas
option.When enabled, the reporter displays changes in gas usage between test runs - super useful for optimization work.
Many thanks to @0xVolosnikov for writing this feature.
Bugfixes
PRs
New Contributors
Full Changelog: cgewecke/hardhat-gas-reporter@v2.1.1...v2.2.0
v2.1.1
: Allow sub-gweiblobBaseFee
Compare Source
What's Changed
blobBaseFee
drops below 1 gwei by @cgewecke in https://github.com/cgewecke/hardhat-gas-reporter/pull/228Full Changelog: cgewecke/hardhat-gas-reporter@v2.1.0...v2.1.1
v2.1.0
: Arbitrum & Base L2 Network SupportCompare Source
What's New
blobBaseFee
is now fetched directly from the OP stack GasOracle contracts (should be accurate)blobBaseFee
prices for L2 emulation you'll need to set theL2Etherscan
api key option.What's changed
Full Changelog: cgewecke/hardhat-gas-reporter@v2.0.2...v2.1.0
v2.0.2
: Fix crash with --parallel flagCompare Source
What's Changed
Full Changelog: cgewecke/hardhat-gas-reporter@v2.0.1...v2.0.2
v2.0.1
: Optimism Ecotone (EIP-4844)Compare Source
What's Changed
Full Changelog: cgewecke/hardhat-gas-reporter@v2.0.0...v2.0.1
v2.0.0
: : Optimism L2 & View/Pure Method GasCompare Source
What's New
Configuration for chains with Etherscan support has been simplified to a single key. Just set the
L1
option to one of the supported networks and the reporter will take care of the rest. (You'll still need a coinmarketcap api key)Gas reporting for L2 networks is coming online, starting with Optimism.
Gas metrics for⚠️ There are performance hits when the view and pure options are enabled)
view
andpure
methods are now available as an option. You can also exclude intrinsic gas costs for state-changing methods. (There are multiple report formats, including markdown.
The reporter now supports sub-gwei gas prices. Sub-penny cost display is possible by configuring the
currencyDisplayPrecision
optionDedicated support for the OpenZeppelin Upgrades plugin has been added. (Their proxy pattern often resulted in missing gas data because the reporter didn't know what contract was being called - that's all handled under the hood now.)
Dedicated support for the hardhat-viem plugin has been added (this was broken and should be fixed by this release)
There are many new output, display and low-level options - check out the Config Examples section of the docs
There's additional support for custom proxy contract resolution. If you're routing your calls through contract middleware you can configure the reporter to understand how that works and get the data you expect.
Additionally:
Breaking
gas-reporter:merge
task has been renamedhhgas:merge
onlyCalledMethods
option has been renamedshowUncalledMethods
and must be set totrue
(if you want that).Funding
Work on V2 was funded in part by OpenZeppelin via DRIPS, a public goods protocol that helps direct funding to packages in your dependency tree. If you're using DRIPS and want to add hardhat-gas-reporter to the packages you support its page is here.
Full Changelog: cgewecke/hardhat-gas-reporter@v1.10.0...v2.0.0
Configuration
📅 Schedule: Branch creation - "before 4am on Monday" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.