diff --git a/Cargo.lock b/Cargo.lock index 17f9c318fe..aa6f45280d 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -6661,7 +6661,6 @@ dependencies = [ "reth-interfaces", "reth-node-api", "reth-node-ethereum", - "reth-node-optimism", "reth-primitives", "reth-provider", "reth-trie", diff --git a/crates/revm/Cargo.toml b/crates/revm/Cargo.toml index 64a525bfb7..c38ab6d8c1 100644 --- a/crates/revm/Cargo.toml +++ b/crates/revm/Cargo.toml @@ -29,7 +29,6 @@ tracing.workspace = true [dev-dependencies] reth-trie.workspace = true reth-node-ethereum.workspace = true -reth-node-optimism.workspace = true [features] optimism = [ diff --git a/crates/revm/src/processor.rs b/crates/revm/src/processor.rs index d9442697ca..f10f375d8c 100644 --- a/crates/revm/src/processor.rs +++ b/crates/revm/src/processor.rs @@ -597,9 +597,9 @@ mod tests { Account, Bytecode, Bytes, ChainSpecBuilder, ForkCondition, Signature, StorageKey, Transaction, TransactionKind, TxEip1559, MAINNET, }; - #[cfg(feature = "optimism")] - use reth_provider::BundleStateWithReceipts; - use reth_provider::{AccountReader, BlockHashReader, StateRootProvider}; + use reth_provider::{ + AccountReader, BlockHashReader, BundleStateWithReceipts, StateRootProvider, + }; use reth_trie::updates::TrieUpdates; use revm::{Database, TransitionState}; use std::collections::HashMap;