Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Oct 13, 2025

Bumps hardhat-gas-reporter from 1.0.10 to 2.3.0.

Release notes

Sourced from hardhat-gas-reporter's releases.

Etherscan API V2

This release migrates the plugin to Etherscan's new V2 API. (V1 will stop working in June 2025). A benefit of this change is that you'll only need a single API key to access any of the L1 and L2 networks Etherscan supports. As a result, the plugin's L1Etherscan and L2Etherscan options are being deprecated in favor of a new etherscan option.

Your existing L1Etherscan key will continue to work.

To simplify your reporter config as you make this upgrade, make the change below:

const config: HardhatUserConfig = {
  gasReporter: {
+    etherscan: "ABC...", // Same value as your old `L1Etherscan` key
-    L1Etherscan: "ABC...",  
-    L2Etherscan: "DEF..."
  }
}

(You'll continue to see price data even if you don't change your config. The plugin defaults to using your L1Etherscan key if it doesn't see the newer option set.)

What's Changed

Full Changelog: cgewecke/hardhat-gas-reporter@v2.2.3...v2.3.0

Small L2 Bug Fixes

This release fixes two small bugs affecting L2 gas reporting:

  • Sub-gwei L1 baseFees were being incorrectly rounded to zero when calculating OPStack chain costs.
  • Setting a gasPrice on the Hardhat Network config could result in test suites which emulate Arbitrum hanging (thanks to @​mattador1 for reporting and helping debug this)
  • We've also updated the viem package (which should resolve npm installation warnings for one of its transitive dependencies)

What's Changed

Full Changelog: cgewecke/hardhat-gas-reporter@v2.2.2...v2.2.3

v2.2.1 Fix L1 Etherscan api key logic

Bug Fixes

Recently, Etherscan began requiring an api key to fetch live gasPrice and baseFee data for Ethereum mainnet. This release fixes a bug in the way the L1Etherscan api key option was set which caused those data calls to fail.

Full Changelog: cgewecke/hardhat-gas-reporter@v2.2.0...v2.2.1

... (truncated)

Commits

Dependabot compatibility score

You can trigger a rebase of this PR by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

Bumps [hardhat-gas-reporter](https://github.com/cgewecke/hardhat-gas-reporter) from 1.0.10 to 2.3.0.
- [Release notes](https://github.com/cgewecke/hardhat-gas-reporter/releases)
- [Changelog](https://github.com/cgewecke/hardhat-gas-reporter/blob/master/CHANGELOG.md)
- [Commits](https://github.com/cgewecke/hardhat-gas-reporter/commits/v2.3.0)

---
updated-dependencies:
- dependency-name: hardhat-gas-reporter
  dependency-version: 2.3.0
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Oct 13, 2025
@vercel
Copy link

vercel bot commented Oct 13, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
arbius Ready Ready Preview Comment Oct 13, 2025 1:48pm
arbius-docs Ready Ready Preview Comment Oct 13, 2025 1:48pm
arbius-explorer Ready Ready Preview Comment Oct 13, 2025 1:48pm
arbius-staging Ready Ready Preview Comment Oct 13, 2025 1:48pm

@coderabbitai
Copy link

coderabbitai bot commented Oct 13, 2025

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.


Comment @coderabbitai help to get the list of available commands and usage tips.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant