You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Transaction 1 is sent by invoking contract method and sending transaction without modification.
Transaction 2 is sent by invoking contract method and sending transaction with max_priority_fee_per_gas and max_fee_per_gas fields set.
Version
ethers = { version = "2.0", features = ["optimism"] }
Platform
amd64 64-bit Ubuntu 22.04.4 LTS
Description
When doing contract method call on Optimism, transaction fields
max_priority_fee_per_gas
andmax_fee_per_gas
are set way higher than needed.Base: 0.06006163 Gwei | Max: 3.120361902 Gwei | Max Priority: 3 Gwei
transaction 1 linkBase: 0.005705273 Gwei |Max: 0.15 Gwei |Max Priority: 0.001 Gwei
transaction 2 linkTransaction 1 is sent by invoking contract method and sending transaction without modification.
Transaction 2 is sent by invoking contract method and sending transaction with
max_priority_fee_per_gas
andmax_fee_per_gas
fields set.Code to reproduce transaction 1
As described in ethers-rs erc-20 transfer example
Code to reproduce transaction 2
The text was updated successfully, but these errors were encountered: