Skip to content

Releases: zksync-sdk/zksync-ethers

v6.1.0

24 Jan 06:01
Compare
Choose a tag to compare

6.1.0 (2024-01-24)

Bug Fixes

  • utils: pad zeroes to left instead to right in getHashedL2ToL1Msg() (41d0ef3)
  • utils: pad zeroes to left instead to right in getSignature() (c252039)

Features

  • remove Provider.getConfirmedTokens method (7d5e0fe)
  • signer: EIP712Signer.getSignInput() now returns zero values as defaults instead of null (710b08c)
  • signer: add EIP712Signer.getDomain() method (907fee8)
  • types: add FinalizeWithdrawalParams interface (3220dee)
  • utils: add EIP712_TYPES (e148367)
  • utils: remove deprecated IPaymasterFlow ABI (56f8094)

BREAKING CHANGES

  • utils: remove the deprecated utils.IPaymasterFlow in
    favor of utils.PAYMASTER_FLOW_ABI.
  • signer: EIP712Signer.getSignInput() now returns zero values instead of null as default
    values. In the case of a number, the zero value is 0. In the case of an ethers.BigNumberish,
    the zero value is 0n. In the case of a string, the zero value is 0x0.
  • This method will be removed from JSON RPC API.

v5.1.0

24 Jan 05:45
Compare
Choose a tag to compare

5.1.0 (2024-01-24)

Features

  • EIP712Signer.getSignInput() now returns zero values as defaults instead of null (477548d)
  • remove L2VoidSigner and L1VoidSigner (396b6d1)
  • remove Provider.getConfirmedTokens method (a761751)
  • signer: add EIP712Signer.getDomain() method (807c314)
  • types: add FinalizeWithdrawalParams interface (3aa32f6)
  • utils: add EIP712_TYPES (490e0ea)
  • utils: rename IPaymasterFlow to PAYMASTER_FLOW_ABI (746a333)

BREAKING CHANGES

  • EIP712Signer.getSignInput() now returns zero values instead of null as default
    values. In the case of a number, the zero value is 0. In the case of an ethers.BigNumberish,
    the zero value is 0n. In the case of a string, the zero value is 0x0.
  • L2VoidSigner and L1VoidSigner are removed from the SDK.
  • this method will be removed from JSON RPC API.

v6.0.0

08 Dec 09:17
Compare
Choose a tag to compare

6.0.0 (2023-12-08)

Features

  • setup zksync-ethers project (05bdb16)

v5.0.0

08 Dec 09:16
Compare
Choose a tag to compare

5.0.0 (2023-12-08)

Features

  • setup zksync-ethers project (9959f2e)