Repository navigation
Releases: wevm/viem
Release list
viem@2.57.4
Patch Changes
-
#5204
9adede02f2a5d171b8302e5671c3e4f70789fb57Thanks @jxom! - Updatedoxto0.14.54, which keeps absent Tempo key-authorizationlimits(unlimited) distinct from an empty list (deny-all). -
#5190
2149aa18fc0363e702c81b95e0759c1f171eaaceThanks @struong! - Added the current Tempo ZoneInbox ABI, selectors, and predeploy address for reading deposit outcomes.
viem@2.57.3
Patch Changes
-
#5180
031f5e2445031fed4328f32cb201f779b9101265Thanks @jxom! - FixedsendCallswithexperimental_fallbackenabled to recognize Base RPC's unsupported-method response. -
#5168
d6f63b57b4cc9b93654ca20f848b46a1080551d3Thanks @bearpong! - FixedgetContractErrorthrowing when an error cause is not an object. -
#5173
26d5bd227ba532ceff83bd76e807ea605c703e8bThanks @jxom! - Updated automatic relay fee-token selection to skip tokens without fee AMM liquidity in the existing preflight request. -
#5171
bbd9c15a1de604cc4948f6033456c7f7f15a5f9aThanks @Iretse! - Fixed IPC response framing for JSON strings containing braces and escaped quotes. -
#5160
ed89bfdf5c4595fbd7b38346c8dfb7b1250dbfcbThanks @KJdayo! - Updated Jasmy Chain and Jasmy Chain Testnet RPC URLs (rpc.jasmyscan.net/jasmy-chain-testnet.alt.technology) and added their block explorers. -
#5179
60951cb0166d8f55615294b2b71de4c3526128e9Thanks @jxom! - FixedwaitForTransactionReceipttreating the awaited transaction as its own replacement when its receipt was unavailable. -
#5172
69e9facaba86a4a171b473fdc19419b12ff4ed74Thanks @Iretse! - Fixed retention of timed-out IPC and WebSocket request callbacks. -
#5176
2f97c5e1639969179e76ea61f5b10641f6f101f8Thanks @Kshot3000! - FixedwaitForUserOperationReceipthanging until timeout on a later call for the same hash after concurrent calls for that hash had settled.
viem@2.57.2
Patch Changes
-
#5157
bc45023eb72279e225ed924ac93e4aae1589356cThanks @myfxpaddy! - Added CRYMAD Chain and CRYMAD Chain L2 chains. -
#5162
cf4591306183f1622b376115cd4ed077b8fffb34Thanks @tmm! - Marked Open USD as popular in its token definition and included it intokens.popular. -
#5166
f9f9d1bc0bc9d7fa116a164cf9deceadfe5f35a8Thanks @decofe! - Addedfromto Tempotoken.burnandtoken.burnSyncto burn from another address via TIP-1006burnAt(T12), and synced Tempo ABIs. -
#5156
3f38e899dca519598165091c363faa9c884630bdThanks @decofe! - Fixed the Tempo preparation hook to preserve explicitly supplied expiring nonces for TIP-1106.
viem@2.57.1
Patch Changes
- #5151
93ea7b3928b41929e5e8b1116937c0caf4f2606fThanks @tmm! - Added Open USD (OUSD) token support on Ethereum, Tempo, and Base.
viem@2.57.0
Minor Changes
-
#5138
6599af365a27476c9f9b7b6f2950941709807393Thanks @jxom! - AddedcreateClientResolverto lazily resolve and cache typed clients across configured chains using a transport map or callback. -
#5140
8a5ef5b06400530e7a45b6b52ed01e49c42f34ddThanks @jxom! -viem/tempo: Added a Relay RPC handler with a composable plugin mechanism.import { createClient, Relay, Store } from "viem/tempo"; const relay = Relay.create({ client: createClient(), plugins: [ Relay.multisig({ store: Store.memory() }), Relay.simulate(), Relay.feePayer(), Relay.feeToken(), ], }); export default { fetch: relay.fetch };
Patch Changes
-
#5136
d3b492aa4769a8fe05177799e3983bea2ae650ecThanks @Lukecele! - Added Kortana chain. -
#5128
51f9ad9595507c3a5032254b3bc1ed342af2ba68Thanks @cryptocandyio! - Added CandyChain. -
#5133
1106809071cea88eca868262ee7bab8a82081338Thanks @garywilson87! - Added the BlockDAG chain definition. -
#5145
f0bf794c2903663c8cf4c006ba1598bab6075ec1Thanks @fe-dudu! - Updated the Multicall3 deployment metadata for Creditcoin Devnet, Testnet, and Mainnet. -
#5130
33e3777a5291ec3553efcde025cf5d6037960002Thanks @HereForTheTechNFT! - FixedgetGame,getGames,getTimeToNextGameandgetTimeToNextL2Outputto treat a dispute game (or L2 output) at exactly the requested L2 block number as covering it. -
#5132
e713dba3b7e2751457952dc2ed6fde1fca2fbfebThanks @gjija! - FixedparseSiweMessagelosing or truncatingresourceswhenResources:appeared in the statement, URI, Request ID or a resource. -
#5142
e65f6640031af871622a4929d58a1593695c488cThanks @rubenmarcus! - FixedwaitForTransactionReceiptso concurrent calls for the same hash on one client each honor their owntimeout,confirmations,pollingInterval,retryCountandcheckReplacementinstead of inheriting the first call's options.
viem@2.56.9
Patch Changes
-
#5123
2068265d2fefb41da2ca672f7b8ef0d221efdbdeThanks @rabbitmainnet! - Added Rabbit Chain Testnet (chain ID 9280) toviem/chains. -
#5124
4767ff7be7aed3845b617f8b16806d72469ea657Thanks @kyscott18! - Added thegetStorageValuesaction for batch retrieval of contract storage slots. -
#5108
5a201d9a5996a836023bdb676c8d7c0f43f9c8faThanks @Lukecele! - Added Plasma mainnet addresses for USDC and EURC. -
#5114
de663c98de19da2ffccdd1681fd616e6ed653b98Thanks @jxom! - Resynced Tempo contract ABIs and added the current committee address.// Abis.earnMerkleRewardDistributor contract calls -functionName: 'fundWithAssets', -args: [funder, assets, minEarnShares], +functionName: 'fundAndPublishRoot', +args: [settlementId, expectedRootVersion, funder, assets, minEarnShares, root, totalEntitlement, statementHash], functionName: 'publishRoot', -args: [root, totalEntitlement, statementHash], +args: [expectedRootVersion, root, totalEntitlement, statementHash], -const verifierAbi = Abis.zone +const verifierAbi = Abis.core -const selector = Selectors.zoneVerifier.verify +const selector = Selectors.zoneVerifier.verify[ + 'verify(uint32,uint64,uint64,bytes32,uint64,(bytes32,bytes32),(bytes32,bytes32,uint64,uint64),bytes32,bytes,bytes)' +]
-
#5112
c704647d93ed5eaabe3ca9e22fdd4f7e9132b641Thanks @spalladino! - Added optionalmaxUsedGastosimulateBlockscall results, preserving the per-callmaxUsedGasreported byeth_simulateV1.maxUsedGasis the node's measurement of the gas used by a call before gas refunds are applied – it is not a guaranteed minimum sufficient gas limit for the call. It isundefinedagainst nodes that do not report it, and is available on both successful and failed call results. -
#5126
6feacb3a9066b47d3f083a0da0da2d8172577870Thanks @jxom! -viem/tempo: Added PropAMM actions.
viem@2.56.8
Patch Changes
- #5110
f54b9d3e9d89dfc750525d57c9fd83ce0157aca1Thanks @jxom! - Fixed declaration inference for exported Tempo chains by preserving named formatter return types.
viem@2.56.7
Patch Changes
-
#5098
5a6b1e8ef72b8eabd237e0b3bb836108dc3654daThanks @deepakansh11nov! - Added E Canna Mainnet (4111) and E Canna Testnet (4112). -
#5106
ed37560943385e6636153c0d8db7ac81f2013757Thanks @hjchen-circle! - Added Arc mainnet addresses for EURC and cirBTC. -
#5107
1dfad6e684d635b5775812a219dc27b51ee4a081Thanks @jxom! - Updated experimental multisig for the latest protocol, including recovery-factory addresses, initial config caching, and primitive-only approvals. -
#5093
6b4be93c6e95cab9ec47079c10df1d91d8cffc99Thanks @canopyhub! - Added OrdoFi public RPC (HTTP + WebSocket) to Robinhood Chain. -
#5097
f43b66920158db6a2093e9982957d5f5f2a09408Thanks @2bsrwjskys-coder! - Added Zagros chain.
viem@2.56.6
Patch Changes
-
#5094
e80a7b1979439a3130d3f12b1d92d42379fd557aThanks @0xjohnk! - Added public RPC, block explorer, Multicall3, and USDC address metadata to Arc. -
#5063
e38289c13777a3da75cca0549e4aa694884f456dThanks @nicknixcape! - Added HyveChain. -
#5096
ee4489f4ebd0b9bdb6acb66b8e7b835616601ad5Thanks @jxom! - Limited token balance and metadata probe gas to prevent failing candidates from exhausting thesimulateCallsasset-tracing gas budget. -
#5083
83c47e96f39c2838da74f1d34f78c16313e29390Thanks @Eras256! - FixedshouldRetrynot retrying QuickNode's-32007rate-limit error code, mirroring the existing handling for the429(Alchemy) case. -
#5077
b8c79781ecc7bb3c99e14a0e2164ea6245a00a30Thanks @dmytrozahumennov-wb! - AddedwhitechainSepoliatoviem/op-stackchain exports.
viem@2.56.5
Patch Changes
- #5069
86adf420cfb20721ff99aa5bf6e6c1017588d473Thanks @moyanghe-uniswap! - FixedstateOverridebeing silently dropped byestimateGasinviem/linea— it was destructured into an unused rest object and never serialized onto thelinea_estimateGasrequest, so overrides never reached the node.