Skip to content

Releases: zksync-sdk/zksync-ethers

v5.7.0

04 Apr 10:19
Compare
Choose a tag to compare

5.7.0 (2024-04-04)

Bug Fixes

  • make Block.sealFields optional (dc83275)
  • move abi folder at top level (aacddbe)
  • provider: fix issue related to resolving blockTag value (a9a1b30)
  • signer, wallet: make l2GasLimit optional parameter in requestExecute (7279205)
  • signer: add support for zks RPC methods in Signer (5c718db)
  • types: TransactionRespnose.wait() return native TransactionReceipt (9860d4d)
  • wallet: use native TransactionRequest type instead of ethers (24c4071)

Features

  • add SmartAccount in order to provide better support for AA (c38f20c)
  • provider: drop support for the Goerly network (027d9b7)

BREAKING CHANGES

  • provider: The function Provider.getDefaultProvider() no
    longer supports types.Network.Goerli.

v6.6.0

18 Mar 23:32
Compare
Choose a tag to compare

6.6.0 (2024-03-18)

Bug Fixes

  • provider: create prefetched txs correctly in Block object (8ef06f2), closes #75
  • provider: disable caching for local networks (26d6f63)
  • utils: add padding in apply and undo alias in order to return 20 bytes long address (a5a83b6)

Features

  • extract all files from the src folder into the build folder (e5f2209)
  • provider: add support for era test node (7be6040)
  • provider: remove support for the ZKSYNC_WEB3_API_URL environment variable (f5b8529)

Reverts

  • adapters: make AdapterL1.getFullRequiredDepositFee work with overrides (0ed9389)

BREAKING CHANGES

  • provider: Remove support for the ZKSYNC_WEB3_API_URL environment
    variable from the Provider.getDefaultProvider() to make it compatible
    with browser integration.
  • Previously, the build folder contained the src folder along
    with all the js and d.ts files. This setup resulted in a poor developer
    experience, as developers were required to use the src prefix in their imports
    (e.g., 'zksync-ethers/src/types'). Now, all files from the src folder are
    extracted, eliminating the need to specify the src prefix in the path.
  • adapters: Remove support from AdapterL1.getFullRequiredDepositFee for
    considering overrides.from as the initiator of the operation. This functionality
    was previously used to calculate the full deposit fee for accounts whose private
    key is unknown. However, this feature is no longer necessary because
    L1VoidSigner.getFullRequiredDepositFee is specifically designed to handle such
    cases.

v5.6.0

18 Mar 23:50
Compare
Choose a tag to compare

5.6.0 (2024-03-18)

Bug Fixes

  • utils: add padding in apply and undo alias in order to return 20 bytes long address (3acaa8f)

Features

  • extract all files from the src folder into the build folder (c678612)
  • provider: add support for era test node (6c744fa)
  • provider: parse all block fields from RPC endpoints (d58fb83)
  • provider: remove support for the ZKSYNC_WEB3_API_URL environment variable (0592ae4)

BREAKING CHANGES

  • provider: Remove support for the ZKSYNC_WEB3_API_URL environment
    variable from the Provider.getDefaultProvider() to make it compatible
    with browser integration.
  • Previously, the build folder contained the src folder along
    with all the js and d.ts files. This setup resulted in a poor developer
    experience, as developers were required to use the src prefix in their imports
    (e.g., 'zksync-ethers/src/types'). Now, all files from the src folder are
    extracted, eliminating the need to specify the src prefix in the path.

v6.5.0

05 Mar 16:59
Compare
Choose a tag to compare

6.5.0 (2024-03-05)

Features

  • adapters: make AdapterL1.getFullRequiredDepositFee work with overrides (9feb1e1)
  • signer: add L2VoidSigner and L1VoidSigner (84008bb)

v5.5.0

05 Mar 15:32
Compare
Choose a tag to compare

5.5.0 (2024-03-05)

Features

  • signer: add L2VoidSigner and L1VoidSigner (53d9270)

v6.4.0

29 Feb 18:54
Compare
Choose a tag to compare

6.4.0 (2024-02-29)

Bug Fixes

  • adapter: make l2GasLimit optional parameter in requestExecute (a5fb96c)
  • wallet: populate transaction before signing (72a0585)

Features

  • utils: add toJSON function for converting object to JSON string (8ef0299)

v5.4.0

29 Feb 18:52
Compare
Choose a tag to compare

5.4.0 (2024-02-29)

Bug Fixes

  • wallet: make populateTransaction compatible with ethers validation (e048e59)
  • wallet: populate transaction before signing (17deca3)

Features

  • provider: remove getMessageProof() method (4dabbda)
  • provider: remove getTokenPrice() method (69e3536)
  • utils: add toJSON function for printing objects (1d13933)

BREAKING CHANGES

  • provider: Remove deprecated Provider.getMessageProof() method.
  • provider: Remove deprecated Provider.getTokenPrice() method.

v6.3.0

08 Feb 22:02
Compare
Choose a tag to compare

6.3.0 (2024-02-08)

Features

  • provider,wallet: fix typo in paymaster paramter name (7f71a9d)

BREAKING CHANGES

  • provider,wallet: Rename function paramter paymasterParamas to
    paymasterParams in Provider.getTransferTx(), Provider.estimateGasTransfer(),
    Provider.getWithdrawTx(), Provider.estimateGasWithdraw(), Wallet.transfer()
    and Wallet.withdraw() methods.

v5.3.0

08 Feb 22:00
Compare
Choose a tag to compare

5.3.0 (2024-02-08)

Features

  • provider, wallet: fix typo in paymaster parameter name (72289c0)

BREAKING CHANGES

  • provider, wallet: Rename function parameter paymasterParamas to paymasterParams in
    Provider.getTransferTx(), Provider.estimateGasTransfer(), Provider.getWithdrawTx(),
    Provider.estimateGasWithdraw(), Wallet.transfer(), and Wallet.withdraw() methods.

v6.2.0

07 Feb 02:37
Compare
Choose a tag to compare

6.2.0 (2024-02-07)

Features

  • provider: getDefaultProvider() connects to local network by default (ae2146d)
  • provider: add getProof method for fetching storage proofs (d364000)
  • wallet,provider: add paymaster support for transfer and withdrawal tx (5cab446)