This Hardhat 3 Alpha release includes new features, bug fixes and breaking changes to the API and its types. The highlights include:
- A new development keystore to support config variables in tests without requiring the entering of a password
- A migration task in Hardhat Ignition for updating existing deployments to work with v3
- Support for initializing Hardhat 2 projects as an option during
--init
Changes
- 09d4ccb: Add a development keystore (#7003)
- d71f90e: Add migration task for HHv2 Ignition deployments (#6538)
- b142813: Added Hardhat v2 template support to
hardhat --init
(#7035) - 1266aaf: Added the addresses of created contracts in call traces
- 28887b9: Change the type of the
npmPackage
plugin property (7058) - a958d46: Change the config test path property from
nodeTest
tonodejs
(#7100) - ef89be2: Rename
optimism
chain type toop
(#7085) - 2da3a06: Group
mocha
andsolidityTest
config undertest
property (#7101) - 5fbea0d: Rename
edr
label toedr-simulated
in network config (#7051) - c2f7136: Removed deprecated JSON-RPC methods:
eth_mining
,net_listening
,net_peerCount
,hardhat_addCompilationResult
,hardhat_intervalMine
, andhardhat_reset
. - 4c160a8: Display GLOBAL OPTIONS in help messages of all tasks that support them (#7114)
- e98ded3: Upgraded EDR dependency to @nomicfoundation/edr v0.12.0-next.4, which changes the file system permission config interface for Solidity tests to mitigate EVM sandbox escape through cheatcodes.
- eea70ff: Make
forge-std
work with and withoutsrc/
- a657c61: General improvement of error messages.
- 1e5d699: Fix example tests hanging when running on fork mode (#6967)
💡 The Nomic Foundation is hiring! Check our open positions.