This release adds support for excluding files from test coverage instrumentation and reporting (i.e. npx hardhat test --coverage).
Changes
-
#8380
0fd498dThanks @kanej! - Added support forcoverage.skipFiles, a list of globs of Solidity files to exclude from coverage instrumentation and reporting during a--coveragerun. -
#8383
1660f1eThanks @schaable! - Fixed an intermittent "Provider for provided chain type does not exist" error that could occur when multiple network connections were created concurrently. -
#8371
287620eThanks @gultekinmakif! - Account overrides that share an address with the network's built-in genesis accounts are now correctly merged into a single genesis entry. -
#8375
931a5f0Thanks @schaable! - Suppressed the solc initcode size warning for Solidity test contracts and when running under--coverage. -
#8372
5f6aff2Thanks @gultekinmakif! - Improved validation forinitialDatenetwork configuration. InvalidDateobjects and unparseable datestrings are now rejected during config loading rather than causing a runtime error later.
💡 The Nomic Foundation is hiring! Check our open positions.