Repository navigation
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
382a84bThanks @ChristopherDedominici! - The project templates have been updated to Solidity 0.8.39. -
#8879
130d561- Thanks @popescuoctavian! BREAKING CHANGE: Removed thefailurePersistFileSolidity fuzz option, and setting it is now a config error. WhenfailurePersistDiris set, failures are persisted underfailures. -
#8879
130d561- Thanks @popescuoctavian! BREAKING CHANGE:maxTestRejects: 0now disables thevm.assumereject limit in Solidity fuzz tests, instead of failing on the first rejected input, and requires a fuzztimeout. -
#8866
3a4f851Thanks @hehuanlu! - Fixed built-in CLI options after--being interpreted by Hardhat instead of being passed to a task as positional arguments. -
#8847
047d824Thanks @unixglo! - Fixed JSON-RPC server shutdown hanging when WebSocket clients remain connected. -
#8879
130d561- Thanks @anaPerezGhiglia! Fixedeth_estimateGasover-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 configuredchainIddiffers from the remote chain's. -
#8879
130d561- Thanks @popescuoctavian! Changed Solidity fuzz inputs rejected byvm.assumeto no longer count towardsruns. -
#8879
130d561- Thanks @popescuoctavian! Changed Solidity fuzz tests to report the logs of the failing run even withoutshowLogs. -
#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 thevm.random*cheatcodes repeating the same sequence in every fuzz run under a fixedseed. -
#8879
130d561- Thanks @nebasuke! Added coverage support for Solidity 0.8.36, 0.8.37 and 0.8.38. -
#8843
1f080e4Thanks @aelmanaa! - Fixed local accounts signing"0x"data and messages as the byte0x00when an older@nomicfoundation/hardhat-zod-utilswas installed (#8790). -
#8861
07daa72Thanks @WillXing! - Fixed Solidity files that define no contract, like a file with only a pragma, being recompiled on every build. -
#8836
7a57fa3Thanks @Iamsohungrynow! - Fixedpaths.tests.soliditynot being validated, so a value that isn't a string is now reported as anHHE15config error. -
Updated dependencies:
- @nomicfoundation/hardhat-utils@5.2.0
💡 The Nomic Foundation is hiring! Check our open positions.