@nomicfoundation/hardhat-ethers-chai-matchers@3.0.11
Changes
-
#8250
ee33400Thanks @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.revertedWithare 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
a921ed8Thanks @mmv08! - MakerevertedWith,revertedWithoutReason,revertedWithPanic, andrevertedWithCustomErrorwait 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.