Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

In the python example, the withdrawal initiated transaction is the old Txn Type: 0 (Legacy) transaction mode #13

Open
wt195799611 opened this issue Jan 30, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@wt195799611
Copy link

🐛 Bug Report for zksync2-py python SDK

📝 Description

I haven't tried anything else yet, but when I looked at the block browser after using the script for L2 withdrawal to L1 mentioned in the example, it showed that the transaction mode was the old Txn Type: 0 (Legacy) instead of the more gas efficient Txn Type: 2 (EIP-1559).

🔄 Reproduction Steps

  1. L2 withdraw ETH to L1.

🤔 Expected Behavior

Transactions should use the more gas efficient EIP-1559

😯 Current Behavior

Actually used the old Legacy

🖥️ Environment

python 3.10.0
zksync2 1.0.0

@wt195799611 wt195799611 added the bug Something isn't working label Jan 30, 2024
@danijelTxFusion
Copy link
Collaborator

Legacy types was used before in order to be compatible with previous version. The plan is to switch to custom EIP712 transaction type which requires the smallest gas among all types (Legacy, London, EIP712).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants