viem@2.57.18
- Version
viem@2.57.18- Repository
- wevm/viem
Release notes
Patch Changes
#5483 78060dbbe684b75fbce8e150adf25fe96145b92e Thanks @jxom! - Limited the total size of bytes and string values that decodeAbiParameters decodes to 32 times the input size, throwing AbiDecodingSizeLimitExceededError beyond it.
#5463 41c1a5f7c7e18560f93d8dd6b251da46f4e1cb5d Thanks @jxom! - Fixed accessKey.authorize and accessKey.authorizeSync falling back to the client account when account was null; they now throw account is required. instead.
#5465 f2c54e49ee6b5665b6b7d9df98149ec1a3c63431 Thanks @jxom! - Updated batched call to reject every call in a multicall batch when the number of returned results did not match the number of calls.
37a88da74836cb42f82d19ca93a8c873f29fa9b5 Thanks @ampagent! - Fixed batched multicall, call, and HTTP requests hanging with an unhandled rejection when the batch function threw synchronously, such as an extended readContract action.
#5479 ccd175704841433e6ba52af0a53a5a7850619220 Thanks @jxom! - ccip: Limited the total response size of local batch gateway requests in one CCIP-Read lookup to 10 MiB, failing the lookup when it is exceeded.
#5461 55763b62de2eeb3435d18050cbfc9a190c0c74cb Thanks @jxom! - Fixed call running CCIP-Read callbacks at the default block instead of the blockNumber, blockTag, or blockHash passed to it.
#5457 b3af075de8797c707ef028ee3507582430e27023 Thanks @jxom! - Updated the Celo serializeTransaction to serialize any transaction with a feeCurrency as a CIP-64 transaction.
#5474 429c3fce93bb38a12ec0fc8e5bedfe31bf57dce7 Thanks @jxom! - Fixed getChainContractAddress returning a contract address at block 0n when the contract was created at a later block.
#5472 9f0e002f9c81435f74f63858732bf1cf67b49440 Thanks @jxom! - Fixed Actions.earn.deployErc4626StackSync falling back to the client account when account was null, so it now throws AccountNotFoundError like the other Earn deployment actions.
#5476 272622faf010afc39a3369cf2c900a38feea0a46 Thanks @jxom! - Fixed Tempo Earn deposit, depositShares, redeem, and withdrawExact to throw AccountNotFoundError when account is null and no recipient is given, instead of defaulting the recipient to the client account.
#5458 6a08be9a4b1c3888315b395a89060c15b6fc00c4 Thanks @jxom! - ens: Applied a 10 second timeout to ENS avatar metadata and image requests, and a 10 MiB limit to avatar metadata response bodies.
#5468 0231beb3f1048a14d7a93b8e6c88aa16ebcaea9c Thanks @jxom! - Updated verifyHash, verifyMessage, verifyTypedData, and verifySiweMessage to return false for the zero address and for signatures whose ECDSA recovery fails instead of matching the zero address.
#5484 ed3350460ee9327c9c6ec977c578e9c44a984366 Thanks @jxom! - Fixed Relay.feePayer to reject fills whose requested and filled senders differ, and to validate and sign for the same sender.
#5480 a9ec1633f533807bba685812c5cf9fcc0c170297 Thanks @jxom! - Changed prepareTransactionRequest to keep the chainId argument or chain id over the eth_fillTransaction result and throw ChainMismatchError when they differ.
#5447 1dd5cc13680dc6319eae7707e6b5a9a156b90d12 Thanks @jxom! - Added iterateLogs and a blockRange parameter on getLogs, which read logs across a block range in pages of blocks and split pages that an RPC Provider rejects.
#5469 44e53b8199cc698958c81836b635acec2b306168 Thanks @jxom! - Updated getL2Output to read the L2OutputOracle directly when no portal address or target chain portal is provided.
#5466 e87461eaaa64f37d6055e676a68600563bb27f63 Thanks @jxom! - Fixed encodeAbiParameters and encodePacked encoding odd-length hex bytes values (and bytesN values in encodeAbiParameters) without left-padding them to whole bytes.
#5444 c51bd55ae71ef9da4151eb691fd246f911e9e44a Thanks @jxom! - Fixed hexToBytes and toBytes shifting the bytes of odd-length hex values when size was specified.
#5455 ee8e8b79d86a00deee8087abe37effed592ccb5a Thanks @jxom! - Added usesSuperRoots to getL2Output and waitToProve outputs so buildProveWithdrawal resolved the L2 block for…