-
Notifications
You must be signed in to change notification settings - Fork 182
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
Update transaction format for Arbitrum #2243
Comments
Can we just handle Arbitrum transactions the same way that we would handle any pre-London chain by defaulting to the legacy tx format similar to what the contract binding base code does i.e. check if the latest block header of the chain specifies a BaseFee and if not assume that the chain does not support the dynamic tx format and use the legacy tx format instead?
I don't think this is true. The GasPriceMonitor is still used to return a cached gas price representing the expected current gas price of the chain in pm.Recipient in order to estimate the current transaction cost for redeeming a ticket.
I don't think this is necessarily true. We could just adjust the
It is also used here Line 132 in 970d0aa
I believe the |
Yes, I think you're right, I made the changes in the max gas price PR: #2171. PTAL
Right, I didn't touch Gas Price Monitor.
Yes, you may be right. I kept the replacement logic. However, note that I never encountered the slow configuration. So the transaction was either accepted or rejected, never pending in Arbitrum.
We don't need to change it for now since this logic is executed only in the case of dynamic fee tx. So, it won't be ever executed in Aribitrum. |
Is your feature request related to a problem? Please describe.
Arbitrum treats the gas price differently than Ethereum. It uses
gasPrice
as the maximum gas price that a user may pay. Also Aribtrum probably does not accept the post-london upgrade transaction format.Describe the solution you'd like
We need address the following points:
The text was updated successfully, but these errors were encountered: