Skip to content

Releases: zksync-sdk/zksync2-python

v1.2.0

07 Jun 11:52
Compare
Choose a tag to compare

This release is also available on:

  • v1.2.0

1.2.0 (2024-06-07)

Bug Fixes

  • fix abi contract cache (81b9e4c)
  • non zero gas limit in options breaks transfer function (d739a60)
  • zks_l1_chain_id not returning int type (0ebd1b8)

Features

  • provide support for Bridgehub (dabbfc0)

v1.1.0

18 Feb 21:20
Compare
Choose a tag to compare

This release is also available on:

  • v1.1.0

1.1.0 (2024-02-18)

Features

  • paymster withdraw and transfer support (66f7761)
  • provider: add zks_logProof (6d48dff)

v1.0.0

19 Jan 18:08
Compare
Choose a tag to compare

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

  • add WalletL1, WalletL2 and Wallet (b189068)
  • remove deprications (d2f2ce7)

BREAKING CHANGES

  • remove all deprications

v0.6.0

07 Jul 11:36
Compare
Choose a tag to compare

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

30 Jun 00:42
Compare
Choose a tag to compare
v0.6.0-beta.1 Pre-release
Pre-release

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

25 May 10:30
Compare
Choose a tag to compare
  • Fix get_l2_hash_from_priority_queue method.
  • Fix deposit workflow.
  • ContractEncoder.fromJson() returns list of contracts that are found in combined.json file generated by zksolc compiler.
  • Update examples

v0.4.0

02 Apr 15:47
Compare
Choose a tag to compare

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 to PrecomputeContractDeployer. Its purpose is only precomputing
  • ContractEncoder 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

11 Jan 22:22
Compare
Choose a tag to compare

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

15 Dec 15:13
e93a25d
Compare
Choose a tag to compare

Changes

  • Simplification of transaction building interface
    • added transaction builder helpers: TxFunctionCall, TxCreateContract, TxCreate2Contract
    • Transaction712 object is constructed automatically by helpers by using only estimated_gas value
  • 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 used tx attribute of Tx builder helpers

v0.0.2

28 Nov 12:54
85b66f0
Compare
Choose a tag to compare

v0.0.2 (2022-11-28)

Bug Fixes

  • Updated ContractDeployer ABI related to the changes in ZkSync2 network
  • Changed hash method with the version support