Skip to content

Bump hardhat from 3.21.0 to 3.21.1 - #53

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

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

Conversation

@dependabot

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

Copy link
Copy Markdown
Contributor

Bumps hardhat from 3.21.0 to 3.21.1.

Release notes

Sourced from hardhat's releases.

Hardhat v3.21.1

This release is a small bug fix release, but also removes the Amsterdam hardfork activation on Hoodi, as it has been delayed.

Changes

  • #8753 cd4766d Thanks @​popescuoctavian! - Removed the Amsterdam hardfork activation on Hoodi, because the upgrade was postponed without a new date, so forking Hoodi no longer uses amsterdam for blocks after the previously scheduled time.

  • #8753 cd4766d Thanks @​popescuoctavian! - Upgraded EDR to v0.25.0.

  • #8753 cd4766d Thanks @​popescuoctavian! - Fixed cheatcodes added in forge-std v1.17.0 being reported by their raw selector instead of their name when they are not yet supported.

  • #8753 cd4766d Thanks @​popescuoctavian! - Fixed calls and gas estimates at the fork block and earlier blocks of a forked network being checked against the transaction gas cap of the local network instead of the cap of the remote chain's hardfork at that block; replays by debug_traceCall and debug_traceTransaction at those blocks use it too.

  • #8753 cd4766d Thanks @​popescuoctavian! - Fixed a crash on macOS when the EDR native addon is loaded from two different paths in one process.

  • #8753 cd4766d Thanks @​popescuoctavian! - Fixed consecutive startSnapshotGas regions in one Solidity test function including the cheatcode overhead of the previous region in their value.

  • #8753 cd4766d Thanks @​popescuoctavian! - Fixed calls in Solidity tests run with isolate reverting when the gas forwarded to them is below the EIP-7623 floor of their calldata, while the same call succeeds without isolate.

  • #8753 cd4766d Thanks @​popescuoctavian! - Fixed calls and creates in Solidity tests run with isolate being checked against the transaction gas cap and the block gas limit, which the enclosing test transaction already satisfies.

  • #8753 cd4766d Thanks @​popescuoctavian! - Changed Vm.Gas.gasTotalUsed in Solidity tests run with isolate to report the regular gas of the transaction before refunds, with gasRefunded reported separately.

  • #8753 cd4766d Thanks @​popescuoctavian! - Fixed calls and creates in Solidity tests run with isolate paying a flat 21,000 intrinsic gas instead of the real intrinsic gas of their transaction, which ignored calldata, access lists, authorizations and init code on every hardfork.

  • #8753 cd4766d Thanks @​popescuoctavian! - Fixed calls and creates in Solidity tests run with isolate reporting zero gas and returning the forwarded gas to the caller when their intrinsic gas or calldata floor exceeded it; they now consume their whole budget.

  • #8753 cd4766d Thanks @​popescuoctavian! - Changed snapshotGasLastCall, snapshotGasLastFrame and startSnapshotGas/stopSnapshotGas in Solidity tests run with isolate to report the receipt gas of the transaction, so the value no longer depends on the gas forwarded to the call or on refunds.

  • #8753 cd4766d Thanks @​popescuoctavian! - Fixed EIP-8037 state gas not being accounted for in Solidity tests running on the Amsterdam hardfork, so Vm.Gas.gasStateUsed is now reported, and Vm.Gas.gasTotalUsed excludes state gas that spilled past the reservoir.

  • #8765 7de90f0 Thanks @​schaable! - Fixed local accounts signing data: "0x" as calldata 0x00, and personal_sign of 0x as a one-byte message.


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


Changelog

Sourced from hardhat's changelog.

3.21.1

Patch Changes

  • #8753 cd4766d Thanks @​popescuoctavian! - Upgraded EDR to v0.25.0.

  • #8753 cd4766d Thanks @​popescuoctavian! - Fixed cheatcodes added in forge-std v1.17.0 being reported by their raw selector instead of their name when they are not yet supported.

  • #8753 cd4766d Thanks @​popescuoctavian! - Fixed calls and gas estimates at the fork block and earlier blocks of a forked network being checked against the transaction gas cap of the local network instead of the cap of the remote chain's hardfork at that block; replays by debug_traceCall and debug_traceTransaction at those blocks use it too.

  • #8753 cd4766d Thanks @​popescuoctavian! - Removed the Amsterdam hardfork activation on Hoodi, because the upgrade was postponed without a new date, so forking Hoodi no longer uses amsterdam for blocks after the previously scheduled time.

  • #8753 cd4766d Thanks @​popescuoctavian! - Fixed a crash on macOS when the EDR native addon is loaded from two different paths in one process.

  • #8753 cd4766d Thanks @​popescuoctavian! - Fixed consecutive startSnapshotGas regions in one Solidity test function including the cheatcode overhead of the previous region in their value.

  • #8753 cd4766d Thanks @​popescuoctavian! - Fixed calls in Solidity tests run with isolate reverting when the gas forwarded to them is below the EIP-7623 floor of their calldata, while the same call succeeds without isolate.

  • #8753 cd4766d Thanks @​popescuoctavian! - Fixed calls and creates in Solidity tests run with isolate being checked against the transaction gas cap and the block gas limit, which the enclosing test transaction already satisfies.

  • #8753 cd4766d Thanks @​popescuoctavian! - Changed Vm.Gas.gasTotalUsed in Solidity tests run with isolate to report the regular gas of the transaction before refunds, with gasRefunded reported separately.

  • #8753 cd4766d Thanks @​popescuoctavian! - Fixed calls and creates in Solidity tests run with isolate paying a flat 21,000 intrinsic gas instead of the real intrinsic gas of their transaction, which ignored calldata, access lists, authorizations and init code on every hardfork.

  • #8753 cd4766d Thanks @​popescuoctavian! - Fixed calls and creates in Solidity tests run with isolate reporting zero gas and returning the forwarded gas to the caller when their intrinsic gas or calldata floor exceeded it; they now consume their whole budget.

  • #8753 cd4766d Thanks @​popescuoctavian! - Changed snapshotGasLastCall, snapshotGasLastFrame and startSnapshotGas/stopSnapshotGas in Solidity tests run with isolate to report the receipt gas of the transaction, so the value no longer depends on the gas forwarded to the call or on refunds.

  • #8753 cd4766d Thanks @​popescuoctavian! - Fixed EIP-8037 state gas not being accounted for in Solidity tests running on the Amsterdam hardfork, so Vm.Gas.gasStateUsed is now reported, and Vm.Gas.gasTotalUsed excludes state gas that spilled past the reservoir.

  • #8765 7de90f0 Thanks @​schaable! - Fixed local accounts signing data: "0x" as calldata 0x00, and personal_sign of 0x as a one-byte message.

Commits
  • 999eab3 Version Packages
  • 8f65f94 Merge pull request #8753 from NomicFoundation/popescuoctavian/edr-optional-de...
  • 7cc1427 Merge remote-tracking branch 'origin/main' into popescuoctavian/edr-optional-...
  • 794c0f1 build: upgrade to EDR v0.25.0
  • 9e9f4d2 Remove the 0x workarounds now that hexStringToBytes handles it
  • 7de90f0 Fix hexStringToBytes converting 0x to a zero byte
  • 8c6f9a2 Merge pull request #8744 from NomicFoundation/hh-utils-hash-keccak
  • 6781b08 use UTF-8
  • 75cc86d fix: keep defaultTransactionGasLimit required in the resolved EDR provider co...
  • 49a778c feat(hhu): add hash keccak util
  • See full diff in compare view

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 3.21.0 to 3.21.1.
- [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.21.1/packages/hardhat)

---
updated-dependencies:
- dependency-name: hardhat
  dependency-version: 3.21.1
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

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 Nov 1, 2026
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