Skip to content

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

Choose a tag to compare

@github-actions github-actions released this 02 Jul 15:51
00ee174

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.