Skip to content

Bump hardhat from 2.26.2 to 3.22.0 - #1078

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/hardhat-3.22.0
Open

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/hardhat-3.22.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 25, 2026

Copy link
Copy Markdown
Contributor

Bumps hardhat from 2.26.2 to 3.22.0.

Release notes

Sourced from hardhat's releases.

Hardhat v3.22.0

This release improves our experimental Amsterdam hardfork support, including adding EIP-8038: State-Access Gas Cost Update. Follow our Amsterdam guide to test your contracts against the updated gas costs.

Changes

  • #8832 4f6bcf5 - Thanks @​anaPerezGhiglia! Added experimental EIP-8038 support to the Amsterdam hardfork: state-access operations are repriced.

  • #8832 4f6bcf5 - Thanks @​popescuoctavian! Added the rollSlot(uint64) and getSlotNumber() cheatcodes, which set and read block.slotnum (EIP-7843) in Solidity tests without changing the block number or timestamp; both revert on EVM versions before Amsterdam.

  • #8832 4f6bcf5 - Thanks @​popescuoctavian! Added the isIsolateMode() cheatcode, which returns whether the running Solidity test is run with isolate.

  • #8832 4f6bcf5 - Thanks @​anaPerezGhiglia! Added the EIP-8037 gas dimensions to debug_traceTransaction and debug_traceCall from the Amsterdam hardfork: the default tracer's top-level frame and the callTracer's root call frame report executionGasUsed, stateGasUsed and gasRefund, and each structLogs entry reports stateGasReservoir, plus a signed stateGasCost on the steps that charge or refill state gas.

  • #8832 4f6bcf5 - Thanks @​anaPerezGhiglia! Changed the experimental EIP-2780 support in the Amsterdam hardfork: contract-creation transactions no longer pay a value charge.

  • #8832 4f6bcf5 - Thanks @​anaPerezGhiglia! Added the stateGasTracer to debug_traceTransaction and debug_traceCall, which reports a transaction's gas in both EIP-8037 dimensions on every hardfork, with zero state gas before Amsterdam.

  • #8800 4ae2908 Thanks @​aelmanaa! - Running with the --coverage flag when no contracts are instrumented (i.e. --no-compile) now throws an error (#8796).

  • #8832 4f6bcf5 - Thanks @​anaPerezGhiglia! Reduced the memory simulated networks use to record the call traces of executed transactions and calls.

  • #8832 4f6bcf5 - Thanks @​popescuoctavian! Fixed block.slotnum returning 0 in forked Solidity tests instead of the forked block's slot number.

  • #8832 4f6bcf5 - Thanks @​anaPerezGhiglia! Fixed missing EIP-8037 state gas for repeated contract deployments in Solidity tests on the Amsterdam hardfork.

  • #8832 4f6bcf5 - Thanks @​popescuoctavian! Fixed Solidity tests switching to the default hardfork after vm.createSelectFork, vm.selectFork or vm.rollFork, instead of keeping the configured hardfork or inline evm_version.

  • #8787 4aa8b87 Thanks @​Revinand! - Fixed --snapshot-check failing with HHE803 when .gas-snapshot has CRLF line endings, as in Windows checkouts.

  • #8812 c47ee42 Thanks @​AliBaig-xD! - Fixed hardhat node --fork sending the configured forking httpHeaders to the URL passed on the command line.

  • #8712 81fc983 Thanks @​schaable! - Fixed HHE905 errors on brief network failures by retrying the solc version list download.

  • #8824 197263c Thanks @​aelmanaa! - Added a hidden includeTraces option to test solidity so plugins can collect call traces regardless of the verbosity (#8737).

  • #8832 4f6bcf5 Thanks @​kanej! - Upgraded EDR to v0.25.1.


💡 The Nomic Foundation is hiring! Check our open positions.


Hardhat v3.21.2

This release is a small update to bump dependency versions in our hardhat init templates.

Changes


💡 The Nomic Foundation is hiring! Check our open positions.

... (truncated)

Changelog

Sourced from hardhat's changelog.

3.22.0

Minor Changes

  • #8832 4f6bcf5 - Thanks @​anaPerezGhiglia! Changed the experimental EIP-2780 support in the Amsterdam hardfork: contract-creation transactions no longer pay a value charge.

  • #8832 4f6bcf5 - Thanks @​popescuoctavian! Added the rollSlot(uint64) and getSlotNumber() cheatcodes, which set and read block.slotnum (EIP-7843) in Solidity tests without changing the block number or timestamp; both revert on EVM versions before Amsterdam.

  • #8832 4f6bcf5 - Thanks @​anaPerezGhiglia! Added the EIP-8037 gas dimensions to debug_traceTransaction and debug_traceCall from the Amsterdam hardfork: the default tracer's top-level frame and the callTracer's root call frame report executionGasUsed, stateGasUsed and gasRefund, and each structLogs entry reports stateGasReservoir, plus a signed stateGasCost on the steps that charge or refill state gas.

  • #8832 4f6bcf5 - Thanks @​anaPerezGhiglia! Added experimental EIP-8038 support to the Amsterdam hardfork: state-access operations are repriced.

  • #8832 4f6bcf5 - Thanks @​popescuoctavian! Added the isIsolateMode() cheatcode, which returns whether the running Solidity test is run with isolate.

  • #8832 4f6bcf5 - Thanks @​anaPerezGhiglia! Added the stateGasTracer to debug_traceTransaction and debug_traceCall, which reports a transaction's gas in both EIP-8037 dimensions on every hardfork, with zero state gas before Amsterdam.

Patch Changes

  • #8800 4ae2908 Thanks @​aelmanaa! - Running with the --coverage flag when no contracts are instrumented (i.e. --no-compile) now throws an error (#8796).

  • #8832 4f6bcf5 Thanks @​kanej! - Upgraded EDR to v0.25.1.

  • #8832 4f6bcf5 - Thanks @​anaPerezGhiglia! Reduced the memory simulated networks use to record the call traces of executed transactions and calls.

  • #8832 4f6bcf5 - Thanks @​popescuoctavian! Fixed block.slotnum returning 0 in forked Solidity tests instead of the forked block's slot number.

  • #8832 4f6bcf5 - Thanks @​anaPerezGhiglia! Fixed missing EIP-8037 state gas for repeated contract deployments in Solidity tests on the Amsterdam hardfork.

  • #8832 4f6bcf5 - Thanks @​popescuoctavian! Fixed Solidity tests switching to the default hardfork after vm.createSelectFork, vm.selectFork or vm.rollFork, instead of keeping the configured hardfork or inline evm_version.

  • #8787 4aa8b87 Thanks @​Revinand! - Fixed --snapshot-check failing with HHE803 when .gas-snapshot has CRLF line endings, as in Windows checkouts.

  • #8812 c47ee42 Thanks @​AliBaig-xD! - Fixed hardhat node --fork sending the configured forking httpHeaders to the URL passed on the command line.

  • #8712 81fc983 Thanks @​schaable! - Fixed HHE905 errors on brief network failures by retrying the solc version list download.

  • #8824 197263c Thanks @​aelmanaa! - Added a hidden includeTraces option to test solidity so plugins can collect call traces regardless of the verbosity (#8737).

3.21.2

Patch Changes

3.21.1

Patch Changes

... (truncated)

Commits
  • f94d1a6 Version Packages
  • dee3bf0 build: upgrade to EDR v0.25.1
  • b3d400f refactor: rename variable
  • a61ec99 refactor: rework default assignment
  • 197263c feat(solidity-test): add a hidden includeTraces option to collect call traces...
  • ed85a93 Merge pull request #8800 from aelmanaa/fix/coverage-no-compile
  • 2c06e1f fix(coverage): fail a --coverage run when nothing was instrumented
  • 353cb34 refactor(coverage): add hasMetadata to the coverage manager
  • f992803 Revert "fix(coverage): fail when tests run with --coverage but nothing was bu...
  • 4aa8b87 fix(hardhat): parse gas snapshot files with CRLF line endings
  • Additional commits viewable in compare view
Maintainer changes

This version was pushed to npm by GitHub Actions, a new releaser for hardhat since your current version.


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](https://github.com/NomicFoundation/hardhat/tree/HEAD/packages/hardhat) from 2.26.2 to 3.22.0.
- [Release notes](https://github.com/NomicFoundation/hardhat/releases)
- [Changelog](https://github.com/NomicFoundation/hardhat/blob/main/packages/hardhat/CHANGELOG.md)
- [Commits](https://github.com/NomicFoundation/hardhat/commits/hardhat@3.22.0/packages/hardhat)

---
updated-dependencies:
- dependency-name: hardhat
  dependency-version: 3.22.0
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot requested a review from alexcos20 as a code owner November 25, 2026 04:52
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Nov 25, 2026
@coderabbitai

coderabbitai Bot commented Nov 25, 2026

Copy link
Copy Markdown

Important

Review skipped

Bot user detected.

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

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 1424fa51-888f-427b-be6a-435f71d3ff74

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

Use the checkbox below for a quick retry:

  • Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

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.

0 participants