-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
added helper error enums for L1BlockInfoError #14326
added helper error enums for L1BlockInfoError #14326
Conversation
228f943
to
91b2ab5
Compare
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.
very nice!
one comment, variant for BaseFeeScalarConversion
is missing. l1_fee_scalar
and l1_base_fee_scalar
are essentially different values. see the nice docs here:
https://github.com/alloy-rs/op-alloy/blob/d1f9aa5b8111286b5340aa793315b6895e05b258/crates/rpc-types/src/receipt.rs#L136-L190
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
Fixes #14274
crates/optimism/evm/src/error.rs
to add helper error enums and modifiedL1BlockInfo
to pass in theL1BlockInfoError
enumcrates/optimism/evm/src/l1.rs
to implement this change and use the new helper error enumsPS-
crates/net/network/src/peers.rs
andcrates/net/network/src/test_utils/testnet.rs
, since it popped up while runningmake pr