-
Notifications
You must be signed in to change notification settings - Fork 0
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
feat(optimism): Reuse L1BlockInfoTx from Maili #1
Conversation
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.
looking good! I would leave the tests though, can never have too many tests. easier to upstream that way as well. do they not work out of the box with replacing the type?
I believe the tests mostly cover the tx l1 cost functions which we should upstream to this pr since the cost functions are there. |
could also be done as 2 steps though to make it faster for dragan to review securely if he recognises his tests |
This should be good to go now except for the git dep - i've added back the tests. |
Opened into upstream revm here |
Description
Kona as well as other libraries + applications use optimism types from maili.
maili-protocol
exposes theL1BlockInfoTx
type that provides all the functionality used in revm's customL1BlockInfo
type.This PR removes the redundant
L1BlockInfo
type fromrevm
, usingmaili_protocol::L1BlockInfoTx
instead.