github wevm/viem viem@2.57.13

6 hours ago

Patch Changes

  • #5310 7e015cb1d72e6b54e4468d7dd60aa59a51fe8d9b Thanks @BaronOdon! - Added Molibra chain.

  • #5314 c0d52cdcb262744a64e742e4cf891cbbde9ccdc9 Thanks @jxom! - viem/tempo: Keyed Relay.accounts stored configs by chain ID so account_getConfig no longer serves a config stored for another chain (configs stored under the previous key are no longer read), added a resolveConfig option that resolves and stores configs the store does not hold, and reduced round trips by reading the commitment without a prior block number request and writing each config once.

  • #5332 de39e106022f313a16c3b7367d8330753748c516 Thanks @jxom! - viem/tempo: Added signMessage and signTypedData support to Account.fromConfig configurable accounts, which sign the EIP-191 or EIP-712 digest with the same configurable signature envelope as sign.

  • #5325 2220ab8f52cf7fcf5420502d30272175b49065ca Thanks @Slokh! - viem/tempo: Fixed formatting of Tempo transactions whose nonce exceeds Number.MAX_SAFE_INTEGER (such as TIP-1106 expiring-nonce discriminators), which made getTransaction, getBlock with includeTransactions and waitForTransactionReceipt replacement checks throw IntegerOutOfRangeError. Formatted Tempo transactions now carry nonce as an exact bigint, matching ox.

  • #5337 609f2bf5a127774904cbc9d97f0e9be7b45c3a7d Thanks @jxom! - viem/tempo: Fixed Relay.feePayer not reporting base-fee floor rejections when the Tempo node returns fee cap less than base fee.

  • #5336 35e551ed4189d28749f0d12e67177a10e574f4f0 Thanks @jxom! - viem/tempo: Fixed fillTransaction returning a number nonce on Tempo transactions when a nonce was passed and no fee payer signed the filled transaction.

  • #5330 1f9c2f00e6b18b194aa510ee09f4ae684af2e976 Thanks @jxom! - Fixed watchEvent and watchContractEvent in the eth_getLogs fallback stalling for good when the blocks since the last poll exceeded the RPC Provider's block range, log count, or response size limit, repeating logs when an RPC node reported a lower block number, emitting logs from before a fromBlock past the latest block, ignoring fromBlock: 1n, and missing logs from the first polling interval without fromBlock.

Don't miss a new viem release

NewReleases is sending notifications on new releases.