Skip to content

Commit

Permalink
chore: use op feature for engine local (#13454)
Browse files Browse the repository at this point in the history
  • Loading branch information
mattsse authored Dec 19, 2024
1 parent 0a0a2d4 commit 7a3e6d8
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 deletions.
6 changes: 2 additions & 4 deletions crates/engine/local/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,6 @@ op-alloy-rpc-types-engine = { workspace = true, optional = true }
workspace = true

[features]
optimism = [
"op-alloy-rpc-types-engine",
"reth-beacon-consensus/optimism",
"reth-provider/optimism",
op = [
"dep:op-alloy-rpc-types-engine"
]
2 changes: 1 addition & 1 deletion crates/engine/local/src/payload.rs
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ where
}
}

#[cfg(feature = "optimism")]
#[cfg(feature = "op")]
impl<ChainSpec> PayloadAttributesBuilder<op_alloy_rpc_types_engine::OpPayloadAttributes>
for LocalPayloadAttributesBuilder<ChainSpec>
where
Expand Down
2 changes: 1 addition & 1 deletion crates/optimism/node/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ optimism = [
"reth-beacon-consensus/optimism",
"revm/optimism",
"reth-optimism-rpc/optimism",
"reth-engine-local/optimism",
"reth-engine-local/op",
"reth-optimism-consensus/optimism",
"reth-db/optimism",
"reth-optimism-node/optimism",
Expand Down

0 comments on commit 7a3e6d8

Please sign in to comment.