-
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
feat: use reth-ethereum-primitives
#13830
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.
awesome, I think we're OOMing the runner unfortunately
@@ -356,7 +356,7 @@ mod test { | |||
#[test] | |||
fn eth68_announcement_unrecognized_tx_type() { | |||
let types = vec![ | |||
TxType::MAX_RESERVED_EIP as u8 + 1, // the first type isn't valid | |||
TxType::Eip7702 as u8 + 1, // the first type isn't valid |
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.
makes sense
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.
hell yeah,
op-reth error unrelated
assert_eq!(tx_type_result, expected) | ||
} | ||
} | ||
pub use alloy_consensus::TxType; |
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.
hell yeah
merging this because this pr is a conflict magnet |
second hell yeah |
third hell yeah, nice work! |
This PR removes primitive types declared in in reth-primitives in favor of the same types from reth-ethereum-primitives which are just re-exported for now.
optimism
feature is removed from reth-primitives as wellWith this PR, the only optimism-gated logic in primitive types crates is this one directly related to revm
reth/crates/optimism/primitives/src/transaction/signed.rs
Lines 127 to 128 in 1922b79