6.14.1 (2024-10-30)
- contract:
deploy
not returning block nubmer (7167496)
6.14.0 (2024-10-11)
- adapter: add
l1TokenAddress
method (4243db6)
6.13.1 (2024-10-07)
- provider:
estimateDefaultBridgeDepositL2Gas
useETH_ADDRESS_IN_CONTRACTS
for base token (4116460)
6.13.0 (2024-09-26)
- tyoes: add missing field for
FeeParams
(456c73a)
- utilize estimated
gasPerPubData
(9f98f75)
6.13.0 (2024-09-26)
- tyoes: add missing field for
FeeParams
(456c73a)
- utilize estimated
gasPerPubData
(9f98f75)
6.12.1 (2024-09-06)
- provider: fix
getRpcError
issue with chai matchers (a66a876)
6.12.0 (2024-08-27)
- signer: fix
populateFeeData
provider check (b89429b)
getTransfer
andgetWithdraw
returnEIP712
type (f92d344)- provider: add
estimateDefaultBridgeDepositL2Gas
andestimateCustomBridgeDepositL2Gas
(1ffd39a) - provider: add
getL1ChainId
(0f8d58f) - signer: add
finalizeWithdrawalParams
(30fb918) - signer: add
VoidSigner
for l2 operations (358f733) - types: add
timeout
parameter to transactionwait()
(2e55d0b) - wallet: add
getFinalizeWithdrawalParams
(87f6081)
6.11.2 (2024-08-09)
- signer:
sendTransaction
populate from (a9db811)
6.11.1 (2024-08-01)
- provider: switch localhost to ip (dc284de)
6.11.0 (2024-07-24)
- prioratize
EIP712
and utilizezks_estimateFee
(4c58829) - prioratize
EIP712
and utilizezks_estimateFee
(527a74f) - provider: add support for
l1_committed
block tag (011db1f)
6.10.0 (2024-07-09)
- make weth bridge addresses optional (ad3cff8)
- types: add
l1_committed
type into typeBlockTag
(89e7f69)
6.9.0 (2024-06-19)
- align types and RPC endpoints with version
v24.7.0
of a node (f7ef615) - provider: add
Provider.getConfirmedTokens()
method (887dc00) - provider: add
Provider.getFeeParams()
method (f5b9381) - provider: add
Provider.getProtocolVersion()
method (864c9d0) - provider: add
Provider.sendRawTransactionWithDetailedOutput()
method (d41a75d)
- Types and RPC endpoints are aligned with version
v24.7.0
of a node.
6.8.0 (2024-06-06)
- adapter: fix correct
recommendedL1GasLimit
ingetFullRequiredDepositFee
(8e92981) - provider:
getTransferTx
andgetWithdrawTx
non-eth-based chain (fc19131) - types: change types in
FullDepositFee
fromBigInt
tobigint
(8707879) - types: ensure
Block.l1BatchTimestamp
has accurate value (cbbb84e) - types: update
RawBlockTransaction
(183fa57)
- provide support for Bridgehub (acfeadd)
- provider:
getTransactionReceipt()
returnsnull
if transaction is not mined or found (17f131d)
- provider:
Provider.getTransactionReceipt()
andBrowserProvider.getTransactionReceipt()
returnnull
if transaction is not mined, discarded or not found.
6.7.1 (2024-05-09)
- export
typechain
at the top level of the package (d125eea) - getPriorityOpResponse correctly assigns waitL1Commit to l2Response object (0cfedc9)
- signer: make
Signer
compatible when created usingBrowserProvider.getSigner()
(e62c98d)
6.7.0 (2024-04-04)
- make
Block.sealFields
optional (5825404) - move
abi
folder at top level (2759e5d) - provider: drop support for the
Goerli
network (a395dae) - signer: add support for
zks
RPC methods inSigner
(c63faea)
- add
SmartAccount
in order to provide better support for AA (d31a9b1)
- provider: The function
Provider.getDefaultProvider()
no longer supportstypes.Network.Goerli
.
6.6.0 (2024-03-18)
- 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)
- 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)
- adapters: make
AdapterL1.getFullRequiredDepositFee
work with overrides (0ed9389)
- 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 the
js
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 becauseL1VoidSigner.getFullRequiredDepositFee
is specifically designed to handle such cases.
6.5.0 (2024-03-05)
- adapters: make
AdapterL1.getFullRequiredDepositFee
work with overrides (9feb1e1) - signer: add
L2VoidSigner
andL1VoidSigner
(84008bb)
6.4.0 (2024-02-29)
- adapter: make
l2GasLimit
optional parameter inrequestExecute
(a5fb96c) - wallet: populate transaction before signing (72a0585)
- utils: add
toJSON
function for converting object to JSON string (8ef0299)
6.3.0 (2024-02-08)
- provider,wallet: fix typo in paymaster paramter name (7f71a9d)
- provider,wallet: Rename function paramter
paymasterParamas
topaymasterParams
inProvider.getTransferTx()
,Provider.estimateGasTransfer()
,Provider.getWithdrawTx()
,Provider.estimateGasWithdraw()
,Wallet.transfer()
andWallet.withdraw()
methods.
6.2.0 (2024-02-07)
- 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)
6.1.0 (2024-01-24)
- utils: pad zeroes to left instead to right in
getHashedL2ToL1Msg()
(41d0ef3) - utils: pad zeroes to left instead to right in
getSignature()
(c252039)
- 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)
- 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.
- setup
zksync-ethers
project (05bdb16)