chore: use op feature for engine local (#13454)

This commit is contained in:
Matthias Seitz
2024-12-19 15:16:08 +01:00
committed by GitHub
parent 0a0a2d425d
commit 7a3e6d8319
3 changed files with 4 additions and 6 deletions

View File

@ -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"
]

View File

@ -45,7 +45,7 @@ where
}
}
#[cfg(feature = "optimism")]
#[cfg(feature = "op")]
impl<ChainSpec> PayloadAttributesBuilder<op_alloy_rpc_types_engine::OpPayloadAttributes>
for LocalPayloadAttributesBuilder<ChainSpec>
where