diff --git a/crates/engine/local/Cargo.toml b/crates/engine/local/Cargo.toml index b3ad169e3189..7e29dbf9af0e 100644 --- a/crates/engine/local/Cargo.toml +++ b/crates/engine/local/Cargo.toml @@ -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" ] diff --git a/crates/engine/local/src/payload.rs b/crates/engine/local/src/payload.rs index 6355a2a00af2..090b4d910b31 100644 --- a/crates/engine/local/src/payload.rs +++ b/crates/engine/local/src/payload.rs @@ -45,7 +45,7 @@ where } } -#[cfg(feature = "optimism")] +#[cfg(feature = "op")] impl PayloadAttributesBuilder for LocalPayloadAttributesBuilder where diff --git a/crates/optimism/node/Cargo.toml b/crates/optimism/node/Cargo.toml index 3c3ebb57039f..ee6c969fd390 100644 --- a/crates/optimism/node/Cargo.toml +++ b/crates/optimism/node/Cargo.toml @@ -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",