-
Notifications
You must be signed in to change notification settings - Fork 31
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
Adding fee computation functions to l1BlockInfoTx #134
Conversation
Hey @clabby, I just updated the PR to include a new module with the fee calculation functions, PTAL again One question (related to #134 (comment)): |
I think they should not. The consumer can decide to handle this case; i.e. in revm, we'll check if there's empty scalars like we do today, and then choose which of these functions we use as a result. |
@clabby just addressed the comments and all the checks passed now, PTAL again |
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.
This is looking good to me pending @clabby's review
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, would be nice if you can open an issue to use these to integrate/replace equivalent logic in reth_optimism_evm::l1
Motivation
We want to reuse
op-alloy
's block info type inrevm
, but it's missing some fee computation functions. Thus this PR aims to add these functionalities.Solution
PR Checklist