Releases: zksync-sdk/zksync-ethers
Releases · zksync-sdk/zksync-ethers
v5.2.0
v6.1.0
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 ofnull
(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 ofutils.PAYMASTER_FLOW_ABI
. - signer:
EIP712Signer.getSignInput()
now returns zero values instead ofnull
as default
values. In the case of anumber
, the zero value is0
. In the case of anethers.BigNumberish
,
the zero value is0n
. In the case of astring
, the zero value is0x0
. - This method will be removed from JSON RPC API.
v5.1.0
5.1.0 (2024-01-24)
Features
EIP712Signer.getSignInput()
now returns zero values as defaults instead ofnull
(477548d)- remove
L2VoidSigner
andL1VoidSigner
(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
toPAYMASTER_FLOW_ABI
(746a333)
BREAKING CHANGES
EIP712Signer.getSignInput()
now returns zero values instead ofnull
as default
values. In the case of anumber
, the zero value is0
. In the case of anethers.BigNumberish
,
the zero value is0n
. In the case of astring
, the zero value is0x0
.L2VoidSigner
andL1VoidSigner
are removed from the SDK.- this method will be removed from JSON RPC API.