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
L2 withdraw ETH to L1.
🤔 Expected Behavior
Transactions should use the more gas efficient EIP-1559
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).
🐛 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
🤔 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