chore: fix unused warning (#19395)

This commit is contained in:
Matthias Seitz
2025-10-29 22:19:42 +01:00
committed by GitHub
parent e808b9ab8f
commit 752891b7cb
2 changed files with 2 additions and 4 deletions

View File

@@ -76,4 +76,4 @@ std = [
"reth-storage-errors/std",
]
portable = ["reth-revm/portable"]
rpc = ["reth-rpc-eth-api"]
rpc = ["reth-rpc-eth-api", "reth-optimism-primitives/serde", "reth-optimism-primitives/reth-codec"]

View File

@@ -1,8 +1,6 @@
pub use alloy_op_evm::{
spec as revm_spec, spec_by_timestamp_after_bedrock as revm_spec_by_timestamp_after_bedrock,
};
use alloy_consensus::BlockHeader;
use revm::primitives::{Address, Bytes, B256};
/// Context relevant for execution of a next block w.r.t OP.
@@ -23,7 +21,7 @@ pub struct OpNextBlockEnvAttributes {
}
#[cfg(feature = "rpc")]
impl<H: BlockHeader> reth_rpc_eth_api::helpers::pending_block::BuildPendingEnv<H>
impl<H: alloy_consensus::BlockHeader> reth_rpc_eth_api::helpers::pending_block::BuildPendingEnv<H>
for OpNextBlockEnvAttributes
{
fn build_pending_env(parent: &crate::SealedHeader<H>) -> Self {