-
Notifications
You must be signed in to change notification settings - Fork 151
Migrate the AccessList from ethcontract to alloy #3985
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
Conversation
| let tx = match self.simulation_gas_price().await { | ||
| Some(gas_price) => { | ||
| let gas_price = gas_price.try_into().map_err(|err| { | ||
| Error::GasPrice(anyhow!("failed to convert gas_limit to u128: {err:?}")) | ||
| })?; | ||
|
|
||
| tx.with_gas_price(gas_price) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think there are not many calls to simulation_gas_price. Might be easier to move this error handling into that call already and update the callers accordingly.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done, not 100% sure if the log I left should be debug or warn though
squadgazzz
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
m-sz
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Description
Migrates the AccessList code from ethcontract to alloy; this has been partially migrated by the previous #3995
Changes
How to test
Existing tests