Skip to content

build(deps-dev): bump hardhat-gas-reporter from 1.0.10 to 2.3.0 in /contracts/erc20#1471

Open
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/npm_and_yarn/contracts/erc20/hardhat-gas-reporter-2.3.0
Open

build(deps-dev): bump hardhat-gas-reporter from 1.0.10 to 2.3.0 in /contracts/erc20#1471
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/npm_and_yarn/contracts/erc20/hardhat-gas-reporter-2.3.0

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Mar 18, 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 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 dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Mar 18, 2026
@github-actions github-actions bot added the size/XS PR: 1-10 lines label Mar 18, 2026
@github-actions
Copy link

Welcome to RustChain! Thanks for your first pull request.

Before we review, please make sure:

  • Your PR has a BCOS-L1 or BCOS-L2 label
  • New code files include an SPDX license header
  • You've tested your changes against the live node

Bounty tiers: Micro (1-10 RTC) | Standard (20-50) | Major (75-100) | Critical (100-150)

A maintainer will review your PR soon. Thanks for contributing!

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 size/XS PR: 1-10 lines

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants