Releases: zksync-sdk/zksync-ethers
Releases · zksync-sdk/zksync-ethers
v5.7.0
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 inrequestExecute
(7279205) - signer: add support for
zks
RPC methods inSigner
(5c718db) - types:
TransactionRespnose.wait()
return nativeTransactionReceipt
(9860d4d) - wallet: use native
TransactionRequest
type instead ofethers
(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 supportstypes.Network.Goerli
.
v6.6.0
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 thebuild
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 theProvider.getDefaultProvider()
to make it compatible
with browser integration. - Previously, the build folder contained the src folder along
with all thejs
andd.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 thesrc
prefix in the path. - adapters: Remove support from
AdapterL1.getFullRequiredDepositFee
for
consideringoverrides.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
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 thebuild
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 theProvider.getDefaultProvider()
to make it compatible
with browser integration. - Previously, the build folder contained the src folder along
with all thejs
andd.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 thesrc
prefix in the path.
v6.5.0
v5.5.0
v6.4.0
v5.4.0
5.4.0 (2024-02-29)
Bug Fixes
- wallet: make
populateTransaction
compatible withethers
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
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
inProvider.getTransferTx()
,Provider.estimateGasTransfer()
,
Provider.getWithdrawTx()
,Provider.estimateGasWithdraw()
,Wallet.transfer()
andWallet.withdraw()
methods.
v5.3.0
5.3.0 (2024-02-08)
Features
- provider, wallet: fix typo in paymaster parameter name (72289c0)
BREAKING CHANGES
- provider, wallet: Rename function parameter
paymasterParamas
topaymasterParams
in
Provider.getTransferTx()
,Provider.estimateGasTransfer()
,Provider.getWithdrawTx()
,
Provider.estimateGasWithdraw()
,Wallet.transfer()
, andWallet.withdraw()
methods.