github NomicFoundation/hardhat hardhat@3.0.0-next.4

This Hardhat 3 Alpha release adds two toolboxes, one for our viem set of plugins and one for our ethers set of plugins. The toolboxes make it easier to upgrade during the Alpha, as only the toolbox plugin version needs to be updated rather than every plugin in the set.
There are bug fixes as well, including the automatic library linking in Solidity tests.

Changes

  • e366bf7: Add new toolbox hardhat-toolbox-viem, that uses Node Test Runner and viem (#5643)
  • 8d30be9: Add new toolbox hardhat-mocha-ethers, that uses Mocha Test Runner, chai-matchers and ethers (#5644)
  • 688a233: Fix invalid hex bytecode error in Solidity Test by automatically linking libraries (#6339)
  • b3982a2: Add Arbitrum Sepolia to chain config in Ignition (#6518)
  • 7c9ad25: Infer and display better error messages from stack traces (#6505)
  • 7e55eb2: Fix remove() on windows (#5602)
  • 5fbea0d: Improve error categories and add support for subcategories (#6552)
  • ec8895e: Fix a typo in Hardhat's type GetArtifactByName (#6534)
  • 0a96da8: Generate better error messages when invoking unsupported cheatcodes. Previously we'd just return "unknown selector 0xafc98040", now we return "cheatcode 'broadcast()' is not supported" instead.
  • fc34b96: Fix getCode/getDeployedCode cheatcodes in Solidity Test by compiling all sources (#6522)

💡 The Nomic Foundation is hiring! Check our open positions.


Don't miss a new hardhat release

NewReleases is sending notifications on new releases.