viem@2.57.15

Release

Version
viem@2.57.15
Repository
wevm/viem

Release notes

Patch Changes

#5339 a864b864b8b9031d970910fb8247471924d09280 Thanks @mortezashojaei! - Fixed getAbiItem to throw AbiItemAmbiguityError for overloads that JavaScript cannot distinguish, such as bytes vs bytes32, uint256 vs int256, and uint256[] vs uint256[2], while resolving distinguishable values by byte length and integer range.

#5321 af062571382ec3631cf1901aeda9b58a87c8fad5 Thanks @evanaronson! - Removed a trailing slash to the ZKsync explorer URL.

#5358 179a53682d9bf2ac2b7a65a86ec312fca0c7c9a8 Thanks @Turkchain1919! - Added Turkchain Mainnet (Chain ID: 1919) to the supported chains.

#5375 bb12b94649962cd7f03c339c226399c614b49805 Thanks @jxom! - Fixed decodeEventLog and parseEventLogs to decode anonymous event logs when eventName names the event or every event in abi is anonymous, as with getLogs and watchEvent given a single anonymous event.

#5364 8f2a79ba8b4d235a24c4c101f4ef04a824c3e429 Thanks @jxom! - ccip: Applied the HTTP transport timeout (including its override) and 10 MiB response cap to CCIP-Read gateway requests, refused non-HTTP(S) gateway URLs (including data: URLs, which previously worked), and limited one lookup to 4 nested callbacks, 4 nested local batches, 256 gateway requests and 16 concurrent requests.

#5372 f32ef6c41e623683b99989422eac7ac6cea5c107 Thanks @jxom! - Fixed estimateGas and estimateContractGas returning a gas limit filled by eth_fillTransaction that ignored blockNumber, blockTag, and stateOverride.

#5360 41801d827e339b96d1b4dd775f4dd379f17cc610 Thanks @jxom! - Raised the default expiring nonce validBefore from 25 to 270 seconds, capped Relay.feePayer expiring nonce windows at 300 seconds, added Transaction.expiringNonceMaxExpiry, and replaced the random expiring nonce validAfter with a random nonce discriminator.

#5360 41801d827e339b96d1b4dd775f4dd379f17cc610 Thanks @jxom! - Fixed sponsored prepareTransactionRequest fills keeping a requested feeToken that the fee payer did not sign, which made the fee payer signature invalid.

#5378 cbdd61078378012368464c9b0e4a76804a5ea987 Thanks @mmv08! - Fixed fillTransaction and prepareTransactionRequest returning gasPrice next to EIP-1559 fees on Anvil, which made estimateGas and sendTransaction fail on Anvil 1.8.5 and later with "both gasPrice and (maxFeePerGas or maxPriorityFeePerGas) specified".

#5346 7156f80f77c47c0a3f9df479b0a6e856029edb3b Thanks @KieranAltman! - Updated HashKey Chain and HashKey Chain Testnet display names, native currency name, and block explorer URLs.

#5373 ddc2d365d093793f9d8f5818743f169c98eed8d7 Thanks @jxom! - Added an optional nonce to NonceManager reset parameters, which sendTransaction and sendTransactionSync now set to the consumed nonce when a send fails after consume returned.

#5371 035c519b6b6b3f179fa741953751a501f05132a2 Thanks @jxom! - Fixed parseTransaction to accept an EIP-7702 authorization yParity from 2 to 255 so a serialized transaction parses back, and made recoverAuthorizationAddress throw InvalidYParityError (and verifyAuthorization return false) for a yParity other than 0 or 1, which EIP-7702 treats as having no authority.

#5318 57db085e896dfee3a3387fb7573bf7f7ebc6170d Thanks @jxom! - Fixed parseTransaction not raising TipAboveFeeCapError when the encoded maxFeePerGas is zero.

#5377 42c41ca3c42792e56a2e1f64d3007c28adc9fbba Thanks @mmv08! - Fixed sendTransactionSync and writeContractSync failing at once and freeing the nonce when the node had accepted the transaction but stopped waiting for its receipt (eth_sendRawTransactionSync error code 4), even if the error had no transaction hash, and stopped fallback from sending that transaction to the next node.

#5388 141f8c0ed7f5fdeafbfc514131781638e9340bd9 Thanks @jxom! - Added Account.serialize and Account.deserialize to viem/tempo, which store a configurable account (TIP-1107) as JSON and rebuild it with passkey owners that sign, and Account.AddressMismatchError for a version-zero config that does not derive the stored address. Added a…

Full release on GitHub ↗

Release Sui

Sui testnet-v1.83.1

Protocol Sui Protocol Version in this release: 140 #28271: Adds bulk vector operations: replace_range, keep_range, copy_range, remove_range, and truncate #27829: Adds bulk vector...

Release Anchor

Anchor v0.30.4

The v0.30.4 release is here. Check out the release notes from Anchor website or GitHub. For a list of notable changes with their associated PRs, see the CHANGELOG.

Release Anchor

Anchor v0.32.3

The v0.32.3 release is here. Check out the release notes from Anchor website or GitHub. For a list of notable changes with their associated PRs, see the CHANGELOG.

Release Anchor

Anchor v0.31.3

The v0.31.3 release is here. Check out the release notes from Anchor website or GitHub. For a list of notable changes with their associated PRs, see the CHANGELOG.