Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion crates/optimism/evm/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
4 changes: 1 addition & 3 deletions crates/optimism/evm/src/config.rs
Original file line number Diff line number Diff line change
@@ -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.
Expand All @@ -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 {
Expand Down
Loading