github NomicFoundation/hardhat @nomicfoundation/hardhat-viem-assertions@3.0.11

Changes

  • #8225 19e2644 Thanks @lsheva! - Type-narrow event and custom-error assertions from the contract's ABI: emit / emitWithArgs / revertWithCustomError / revertWithCustomErrorWithArgs now infer event/error names from contract.abi (with autocomplete), and expectedArgs is typed as the matching input tuple. Each position can also be a (value) => boolean predicate.

  • #8191 2a4ae8e Thanks @alcuadrado! - Update how type extensions are handled to optimize the bootstrap process of Hardhat.

  • Updated dependencies:

    • @nomicfoundation/hardhat-utils@4.1.1

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


Don't miss a new hardhat release

NewReleases is sending notifications on new releases.