Skip to content

chore(deps-dev): bump hardhat-gas-reporter from 1.0.10 to 2.3.0 in /examples/sdk/basic-strategy#54

Open
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/npm_and_yarn/examples/sdk/basic-strategy/hardhat-gas-reporter-2.3.0
Open

chore(deps-dev): bump hardhat-gas-reporter from 1.0.10 to 2.3.0 in /examples/sdk/basic-strategy#54
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/npm_and_yarn/examples/sdk/basic-strategy/hardhat-gas-reporter-2.3.0

Conversation

@dependabot
Copy link

@dependabot dependabot bot commented on behalf of github Jan 2, 2026

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

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually 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)

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 @github
Copy link
Author

dependabot bot commented on behalf of github Jan 2, 2026

Labels

The following labels could not be found: automated, dependencies. Please create them before Dependabot can add them to a pull request.

Please fix the above issues or remove invalid values from dependabot.yml.

@dependabot dependabot bot added the component: examples Code examples and reference implementation label Jan 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

component: examples Code examples and reference implementation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants