Hardhat v3.21.0
- Version
hardhat@3.21.0- Repository
- NomicFoundation/hardhat
Release notes
This release includes multiple small bug fixes and expands our Amsterdam hardfork support to include EIP-7954: Increase Maximum Contract Size. See our Amsterdam Support guide for more details.
Changes
#8747 5309dcd Thanks @kanej! - Added experimental EIP-7954 support to the Amsterdam hardfork: deployment transactions may carry up to 128 KiB of init code and deploy up to 64 KiB of contract code.
#8670 1dbf44d Thanks @schaable! - Fixed a cryptic error when a private key in a network's accounts is invalid.
#8708 c8e13d7 Thanks @Kropiunig! - Fixed --coverage crashing when generating the report if Hardhat is run from a directory other than the project root (e.g. a subdirectory, or with --config).
#8747 5309dcd Thanks @kanej! - Upgraded EDR to v0.24.0.
#8747 5309dcd Thanks @kanej! - Fixed the GASLIMIT opcode returning 1_000_000 while the block gas limit is disabled; it now returns the parent block's gas limit, which the mined block's header already carried.
#8747 5309dcd Thanks @kanej! - Added the Amsterdam hardfork activation on Hoodi, so forking Hoodi uses amsterdam for blocks after it activates.
#8747 5309dcd Thanks @kanej! - Fixed simulated OP networks not charging the L1 data fee, so transactions now pay it and their receipts report it.
#8734 4c2a07c Thanks @mikeua! - Fixed the node:test link in the node:test + viem project template README.
#8655 de7c792 Thanks @aelmanaa! - Fixed prompts only receiving the first line when input is piped (e.g. printf 'password\npassword\nvalue\n' | npx hardhat keystore set KEY); later prompts now read the following lines instead of the process exiting with an unsettled top-level await.
#8743 ac2776f Thanks @clippytool! - Fixed the solc compiler list cache not refreshing when it only contains a prerelease build for a requested stable version.
#8751 0a2a248 Thanks @clippytool! - Fixed peer dependency detection during project initialization when npm's legacy-peer-deps or pnpm's auto-install-peers is explicitly configured.
Updated dependencies:
• @nomicfoundation/hardhat-utils@5.1.0
💡 The Nomic Foundation is hiring! Check our open positions.