This release includes two enhancements along with performance improvements and bug fixes: test profiles can now be used in Solidity tests, see our test profiles guide, and hardhat-mocha has been updated to mocha@12.
Changes
-
#8590
e2ebf54Thanks @schaable! - Added Solidity test profiles, allowing test settings to vary across environments such as local development and CI. -
#8595
562cc0bThanks @ChristopherDedominici! - Made ethers derive secp256k1 public keys with EDR's native implementation instead of its pure-JS one, speeding upnew Wallet(secretKey),Wallet.createRandom(), HD wallet derivation andcomputeAddress. -
#8624
1377eb0Thanks @ChristopherDedominici! - Updatedmochato^12.0.0in thehardhat --initmocha-ethers template project. -
#8574
e28e4f5Thanks @anaPerezGhiglia! - Removed the pre-Byzantium hardforks (chainstart,homestead,dao,tangerineWhistle,spuriousDragon) from the acceptedhardforkandhardforkHistoryvalues, as EDR cannot execute them. -
#8635
ad92657Thanks @popescuoctavian! - Upgraded EDR to v0.22.0. -
#8601
34087ddThanks @cdesch! - Improved HTTP proxy support. -
#8616
8b73917Thanks @rome-xi! - Fixed invalidHTTPS_PROXY/HTTP_PROXYvalues being reported as unexpected errors instead of a Hardhat error. -
Updated dependencies:
- @nomicfoundation/hardhat-errors@3.1.0
- @nomicfoundation/hardhat-utils@4.3.0
💡 The Nomic Foundation is hiring! Check our open positions.