hardhat@2.30.0

Release 7 reads

Version
hardhat@2.30.0
Repository
NomicFoundation/hardhat

Release notes

This Hardhat 2 release adds experimental support for the amsterdam hardfork. This will be the last hardfork Hardhat 2 supports, so we recommend planning your migration to Hardhat 3.

Changes

d9605fd: Added experimental support for the amsterdam hardfork.

Under amsterdam, the default gas of the Hardhat network is min(blockGasLimit, 2^32 - 1), following EIP-8037. With the default block gas limit that is 60,000,000, up from 16,777,216 under osaka.

With a gasMultiplier, the automatically estimated gas is no longer trimmed below the node's estimate. This applies to every network and hardfork.

b501bed: Updated debug_traceTransaction and debug_traceCall:

• Added support for geth's built-in tracers, such as callTracer and prestateTracer, which return geth's output unchanged.

• Fixed an empty tracer to select the default tracer, as the Ethereum execution API spec requires.

• Added the enableMemory and enableReturnData options to the default tracer. enableMemory takes precedence over disableMemory, and enableReturnData adds returnData to each step.

• Changed the default tracer output in a few places:

• A step that halts now has an error message that comes from EDR, so do not match on its exact text.

• An unknown opcode is now named Unknown.

• A STOP at the first step is no longer dropped, so traces can have one more step.

• Storage no longer shows slots of another contract after a warm SLOAD.

• When disableStack is set, storage values can be stale until the next SLOAD or SSTORE.

• With the default tracer and storage enabled, debug_traceTransaction now reads the traced transaction to find its recipient. That costs one remote request when the transaction is on a forked chain.

b501bed: Raised the minimum glibc version of the prebuilt Linux gnu binaries of EDR from 2.29 to 2.34.

b501bed: Reduced Hardhat's install size because EDR now installs only the native build for the current platform through optionalDependencies.

b501bed: Fixed the EIP-4788 and EIP-2935 system accounts to have nonce 1 in the genesis state, matching their on-chain deployments. The genesis block hash of local Cancun or later networks therefore differs from previous Hardhat versions. The hashes of all later blocks change as well.

b501bed: Fixed interval mining accepting a mining.interval range that it could not honour:

• A range must now satisfy 1 <= min <= max. An invalid range is rejected when the config is loaded, when the provider is created and when evm_setIntervalMining is called. The config error names networks.hardhat.mining.interval and the offending range.

• BREAKING CHANGE: [0, 0] and [0, N] ranges are no longer accepted. Use a range with a minimum of at least 1, such as [1, N], instead. Set mining.interval to 0 to disable interval mining.

b501bed: Added the blockTimestamp field to logs. Logs returned by eth_getLogs, eth_getFilterLogs, eth_getFilterChanges and eth_subscribe("logs") carry it, as do the logs in transaction receipts. When forking, the field is passed through from the remote node and is absent if the node does not serve it.

b501bed: Updated the minimal supported version of Node to v22, because EDR declares engines.node >= 22. Node 20 reached end of life on 2026-04-30.

On Node 20, Hardhat prints its unsupported-version warning and keeps running. Hardhat's own package.json declares no engines, so installing it is not blocked. Package managers warn that @nomicfoundation/edr requires Node 22, and those that enforce engines, such as Yarn 1, refuse the install. EDR's loader has no Node version check, so EDR itself still loads on Node 20, but that combination is untested.

af684ee: - Fixed networks.hardhat.chains hardfork histories being ignored.

• Changed a configured hardfork history to replace EDR's built-in activations for that chain, so it must list every hardfork the forked range needs.

• Removed the default networks.hardhat.chains entry for Sepolia.

• Rejected an empty hardforkHistory for a networks.hardhat.chains entry…

Full release on GitHub ↗

Release Scaffold-ETH 2

Scaffold-ETH 2 v3.0.0-beta.0

Major Changes • ad12187: create-eth now lives in the scaffold-eth-2 repository. The npx create-eth@latest command and the generated projects work the same way.

Release Agave (Solana validator)

Agave (Solana validator) Release v4.4.2

This is stable release recommended for general adoption. What's Changed • v4.4: ci: request an agent with host kernel for xdp tests (backport of #16290) by @mergify[bot] in #16787 •...