viem@2.57.20

Release 6 reads

Version
viem@2.57.20
Repository
wevm/viem

Release notes

Patch Changes

#5499 018d5605fb23612e0395f453dabd2c917e763ca4 Thanks @jxom! - Updated ox to 0.14.67, which parses Tempo WebAuthn signatures in linear time and refuses those above 2048 bytes, refuses a keychain signature nested in a keychain signature, a key authorization scope with recipients and no selector, a compressed public key where a Tempo address is derived, and a Tempo transaction with a validBefore or validAfter that is not a non-negative safe integer number, a chainId that is not a positive safe integer, or a fee payer signature yParity other than 0 or 1, hashes the payload in Secp256k1.verify of viem/tempo when hash: true is used with address, and refuses call data with an odd number of hex digits in viem/experimental/erc7821.

#5512 fb861e2d3a0f576843a7e51070b8e91da0a0137e Thanks @wavebyrd! - Fixed Multicall3 blockCreated for Darwinia (251739) and Flow EVM Mainnet (968659).

#5508 4b122ec322497536e77f8411d50636723aa971da Thanks @erkancamli! - Fixed getTypesForEIP712Domain to include every domain field that is present (not undefined or null), so that a domain with a string chainId (e.g. from a JSON payload) is no longer hashed and signed without chainId.

#5504 c05ab61850ffe305e12e85c2be154156ac39e8f7 Thanks @jxom! - Fixed batched http and multicall requests flushing before wait elapsed after an earlier batch was split at batchSize.

#5515 fb1687aa92faf11ae95d4bc6a98c08c0a5c23de7 Thanks @jxom! - Fixed publicKeyToAddress silently returning a wrong address for public keys that are not uncompressed (65 bytes with a 0x04 prefix), such as compressed keys; it now throws InvalidPublicKeyError.

#5514 9677703fc287efc59ef227f45332dc4f7d60e48a Thanks @jxom! - Cached checksumAddress results by the lowercase address, so differently cased inputs no longer recompute the hash, and skipped the isAddress cache for checks that do not need a checksum.

#5505 8d3f29e03333d40283811dc69dbd02cdee2bd354 Thanks @jxom! - Fetched the nonce, block, and priority fee concurrently in prepareTransactionRequest when the chain has no fee hooks.

#5511 5f60d1d8a604cf65b54f8ce0b8ac3ce6d3f4b6e6 Thanks @backseats! - Replaced runtime parseAbi calls in call with literal ABIs, removing the human-readable ABI parser from bundles that only read contracts.

#5513 1759adf32ddbfc68060e7cb3b05c889075b1d10d Thanks @jxom! - Fixed fromRlp accepting non-minimal RLP length prefixes and length-prefixed single bytes below 0x80, which now throw RlpNonCanonicalError.

Full release on GitHub ↗

Release viem

viem@2.58.4

Patch Changes • #5625 4357826238423ab3e18e7bc52a7952308ae224f0 Thanks @jxom! - Fixed viem/op-stack withdrawals on chains that move to a shared DisputeGameFactory in OP Stack Upgrade 22...

Release viem

viem@2.58.3

Patch Changes #5614 b4be930334b5a3eadc100abf1ad0d923f477f081 Thanks @mortezashojaei! - Fixed ccipRequest to include the gateway's EIP-3668 error message in HttpRequestError details...

Release Sui

Sui mainnet-v1.84.2

Sui v1.84.2: mainnet hotfix Sui Protocol Version in this release: 142 Validators • Fixes a fork in the address-balance funds withdraw scheduler. This only affects validators, and only...

Release viem

viem@2.58.2

Patch Changes #5601 bc5f35549f5e01fc6ea87571dd257cb7ad57a525 Thanks @jxom! - Stripped a trailing slash from a custom Arweave gateway when getEnsAvatar rewrites https://arweave.net...