github NomicFoundation/hardhat @nomicfoundation/hardhat-ethers-chai-matchers@3.0.11

Changes

  • #8250 ee33400 Thanks @mmv08! - The broad .revert(ethers) matcher now recognizes EVM execution failures that some providers report without revert data, such as invalid opcode and out-of-gas errors. This makes .revert(ethers) behave consistently across providers that omit revert data on these failures. Reason-specific matchers like .revertedWith are unchanged and still require revert data.

    As a consequence, .not.to.be.revert(ethers) now fails for these no-data execution failures, since they are treated as reverts.

  • #8248 a921ed8 Thanks @mmv08! - Make revertedWith, revertedWithoutReason, revertedWithPanic, and revertedWithCustomError wait for transaction receipts before asserting on resolved transaction responses.

  • Updated dependencies:

    • @nomicfoundation/hardhat-utils@4.1.4

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


Don't miss a new hardhat release

NewReleases is sending notifications on new releases.