Releases: zksync-sdk/zksync2-python
Releases · zksync-sdk/zksync2-python
v1.2.0
v1.1.0
v1.0.0
This release is also available on:
v1.0.0
1.0.0 (2024-01-19)
Bug Fixes
withdraw
bridge address (6334874)withdraw
token bridge address (6d5b45c)withdraw
token bridge address (279bfd8)- relax web3 version restriction (5d50182)
- resolve issue relate to
wETH
bridge (48ac8cd)
Features
BREAKING CHANGES
- remove all deprications
v0.6.0
Add support for account abstraction and paymaster features:
- Add smart account deployment with create opcode.
- Add smart account deployment with create2 opcode.
- Support Paymaster parameters in EIP712 Transactions. Paymaster features can be used with EIP712 Transactions.
v0.6.0-beta.1
Add support for account abstraction and paymaster features:
- Add smart account deployment with create opcode.
- Add smart account deployment with create2 opcode.
- Support Paymaster parameters in EIP712 Transactions. Paymaster features can be used with EIP712 Transactions.
v0.5.0
- Fix
get_l2_hash_from_priority_queue
method. - Fix deposit workflow.
ContractEncoder.fromJson()
returns list of contracts that are found incombined.json
file generated byzksolc
compiler.- Update examples
v0.4.0
Breaking Changes
- moved to new web3 py == 6.0.0
- Split Transaction712 with ordinary transaction builders TxFunctionCall, TxCreateContract, TxCreate2Contract and new one TxWithdraw
- ZkSync main contract almost all methods are changes
- BridgeAddresses now contains only 2 addresses of contracts, all methods related to this type are also changed
- ZkSync module added some new methods for the new Withdrawal logic, new one
wait_finalized
. Signature is similar to wait_for_transaction_receipt ContractDeployer
is renamed toPrecomputeContractDeployer
. Its purpose is only precomputingContractEncoder
now can be directly built from JSON files of compiled contract- Changed methods of
L1Bridge
&L2Bridge
classes - Added
LegacyContractFactory
for simplification of deploying contract and use Legacy Eth transaction to interact with it - Added examples for the base functionality
v0.2.0
Changes
- Added PaymasterFlowEncoder for encoding paymaster parameters
- Added integration tests for custom paymaster case
- Update documentation relate to the paymaster subject
- Added integration test of deposit non-native tokens
Fixes:
- ERC20Contract methods moved to web3 py call
v0.1.0
Changes
- Simplification of transaction building interface
- added transaction builder helpers:
TxFunctionCall
,TxCreateContract
,TxCreate2Contract
Transaction712
object is constructed automatically by helpers by using onlyestimated_gas
value
- added transaction builder helpers:
- Updated documentation and example relate to the new API
Fixes:
eth_estimate_gas
method must accept full transaction to correct fee estimation.
For this must be usedtx
attribute of Tx builder helpers