This release adds two new features: a --tolerance option for --snapshot-check to allow for a small amount of drift between gas snapshots as you develop and default values for config variables in hardhat.config.ts, see the config docs for more details.
Changes
-
#8453
38b9f2dThanks @ChristopherDedominici! - Add a fallback value forconfigVariable. -
#8487
7b7af19Thanks @ChristopherDedominici! - Added a--toleranceoption to--snapshot-checkin Solidity tests, allowing snapshot values to drift by a given percentage before the check fails. -
#8486
2ccd059Thanks @Kropiunig! - Fixed the EDR network config validation rejectingmining.interval: 0, a valid value which disables interval mining. -
#8490
22667f6Thanks @kanej! - Added detection and custom error for failed native binding loads (HHE27) of@nomicfoundation/edror@nomicfoundation/solidity-analyzer. -
#8454
47793deThanks @ChristopherDedominici! - Only collect Solidity test stack traces at verbosity level 5 (-vvvvv) and above, fixing excessive memory usage when running large test suites with -vvv/-vvvv.
💡 The Nomic Foundation is hiring! Check our open positions.