Hardhat v3.23.0
- Version
hardhat@3.23.0- Repository
- NomicFoundation/hardhat
Release notes
This release speeds up Solidity fuzz testing through parallel workers and includes bug fixes and other improvements.
Changes
#8879 130d561 - Thanks @popescuoctavian! Support parallel workers for Solidity fuzz tests.
#8856 382a84b Thanks @ChristopherDedominici! - The project templates have been updated to Solidity 0.8.39.
#8879 130d561 - Thanks @popescuoctavian! BREAKING CHANGE: Removed the failurePersistFile Solidity fuzz option, and setting it is now a config error. When failurePersistDir is set, failures are persisted under failures.
#8879 130d561 - Thanks @popescuoctavian! BREAKING CHANGE: maxTestRejects: 0 now disables the vm.assume reject limit in Solidity fuzz tests, instead of failing on the first rejected input, and requires a fuzz timeout.
#8866 3a4f851 Thanks @hehuanlu! - Fixed built-in CLI options after -- being interpreted by Hardhat instead of being passed to a task as positional arguments.
#8847 047d824 Thanks @unixglo! - Fixed JSON-RPC server shutdown hanging when WebSocket clients remain connected.
#8879 130d561 Thanks @kanej! - Upgraded EDR to v0.26.0.
#8879 130d561 - Thanks @anaPerezGhiglia! Fixed eth_estimateGas over-estimating at historical blocks on forked chains whose hardfork differs from the configured one.
#8879 130d561 - Thanks @anaPerezGhiglia! Fixed blocks mined on a fork using default blob and base fee parameters instead of the forked chain's when the configured chainId differs from the remote chain's.
#8879 130d561 - Thanks @popescuoctavian! Changed Solidity fuzz inputs rejected by vm.assume to no longer count towards runs.
#8879 130d561 - Thanks @popescuoctavian! Changed Solidity fuzz tests to report the logs of the failing run even without showLogs.
#8879 130d561 - Thanks @popescuoctavian! Changed Solidity fuzz failures to persist as one JSON counterexample per test, which is replayed first on the next run.
#8879 130d561 - Thanks @popescuoctavian! Fixed the vm.random* cheatcodes repeating the same sequence in every fuzz run under a fixed seed.
#8879 130d561 - Thanks @nebasuke! Added coverage support for Solidity 0.8.36, 0.8.37 and 0.8.38.
#8843 1f080e4 Thanks @aelmanaa! - Fixed local accounts signing "0x" data and messages as the byte 0x00 when an older @nomicfoundation/hardhat-zod-utils was installed (#8790).
#8861 07daa72 Thanks @WillXing! - Fixed Solidity files that define no contract, like a file with only a pragma, being recompiled on every build.
#8836 7a57fa3 Thanks @Iamsohungrynow! - Fixed paths.tests.solidity not being validated, so a value that isn't a string is now reported as an HHE15 config error.
Updated dependencies:
• @nomicfoundation/hardhat-utils@5.2.0
💡 The Nomic Foundation is hiring! Check our open positions.