Skip to content

Releases: wevm/viem

viem@2.57.4

Choose a tag to compare

@github-actions github-actions released this 08 Oct 04:27
6ea182f

Patch Changes

viem@2.57.3

Choose a tag to compare

@github-actions github-actions released this 04 Oct 21:35
10b921e

Patch Changes

viem@2.57.2

Choose a tag to compare

@github-actions github-actions released this 01 Oct 00:39
b25495f

Patch Changes

viem@2.57.1

Choose a tag to compare

@github-actions github-actions released this 29 Sep 18:40
c01de3f

Patch Changes

viem@2.57.0

Choose a tag to compare

@github-actions github-actions released this 29 Sep 03:45
31c874e

Minor Changes

  • #5138 6599af365a27476c9f9b7b6f2950941709807393 Thanks @jxom! - Added createClientResolver to lazily resolve and cache typed clients across configured chains using a transport map or callback.

  • #5140 8a5ef5b06400530e7a45b6b52ed01e49c42f34dd Thanks @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

viem@2.56.9

Choose a tag to compare

@github-actions github-actions released this 24 Sep 21:45
ec5403a

Patch Changes

  • #5123 2068265d2fefb41da2ca672f7b8ef0d221efdbde Thanks @rabbitmainnet! - Added Rabbit Chain Testnet (chain ID 9280) to viem/chains.

  • #5124 4767ff7be7aed3845b617f8b16806d72469ea657 Thanks @kyscott18! - Added the getStorageValues action for batch retrieval of contract storage slots.

  • #5108 5a201d9a5996a836023bdb676c8d7c0f43f9c8fa Thanks @Lukecele! - Added Plasma mainnet addresses for USDC and EURC.

  • #5114 de663c98de19da2ffccdd1681fd616e6ed653b98 Thanks @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 c704647d93ed5eaabe3ca9e22fdd4f7e9132b641 Thanks @spalladino! - Added optional maxUsedGas to simulateBlocks call results, preserving the per-call maxUsedGas reported by eth_simulateV1.

    maxUsedGas is 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 is undefined against nodes that do not report it, and is available on both successful and failed call results.

  • #5126 6feacb3a9066b47d3f083a0da0da2d8172577870 Thanks @jxom! - viem/tempo: Added PropAMM actions.

viem@2.56.8

Choose a tag to compare

@github-actions github-actions released this 18 Sep 04:56
0a9993f

Patch Changes

viem@2.56.7

Choose a tag to compare

@github-actions github-actions released this 17 Sep 06:23
44b6473

Patch Changes

viem@2.56.6

Choose a tag to compare

@github-actions github-actions released this 16 Sep 19:47
69ab3c6

Patch Changes

viem@2.56.5

Choose a tag to compare

@github-actions github-actions released this 13 Sep 04:58
8fe7942

Patch Changes