This Hardhat 3 Alpha release includes new features, bug fixes and changes to the configuration options. The highlights include:
- Code coverage support in Solidity Test with
npx hardhat test solidity --coverage
- Improved Solidity Test output with a mocha/jest-inspired reporter
- Support for predicates in
@nomicfoundation/hardhat-viem-assertions
Changes
- 2b62b40: Add code coverage for Solidity Test with the
--coverage
flag, i.e.npx hardhat test solidity --coverage
(#7019) - dd36123: Improved solidity tests output with a mocha/jest-inspired reporter (#6909)
- c408306: Support predicates on viem-assertions (#7038)
- 00be01a: Improve chain detection to enable multicall and ENS actions on forked networks (#7063)
- 6bf8eb1: Simplify solidity test config (#7059)
- ed3ba1a: Update build info ids (#7049)
- 9875011: Fixed hardhat-viem support for L2 actions when using the optimism chain type
💡 The Nomic Foundation is hiring! Check our open positions.