diff --git a/Cargo.lock b/Cargo.lock index 46d878936129..6b49c190eb7f 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -7394,6 +7394,7 @@ name = "reth-exex" version = "1.0.7" dependencies = [ "alloy-consensus", + "alloy-eips", "alloy-genesis", "alloy-primitives", "dashmap 6.1.0", diff --git a/crates/exex/exex/Cargo.toml b/crates/exex/exex/Cargo.toml index 5baf5b97f3ea..5967b5aaa78d 100644 --- a/crates/exex/exex/Cargo.toml +++ b/crates/exex/exex/Cargo.toml @@ -34,6 +34,7 @@ reth-tracing.workspace = true # alloy alloy-primitives.workspace = true +alloy-eips.workspace = true ## async futures.workspace = true diff --git a/crates/exex/exex/src/notifications.rs b/crates/exex/exex/src/notifications.rs index 54d7959dc5e8..b3972931796d 100644 --- a/crates/exex/exex/src/notifications.rs +++ b/crates/exex/exex/src/notifications.rs @@ -346,11 +346,12 @@ mod tests { use super::*; use alloy_consensus::Header; + use alloy_eips::BlockNumHash; use eyre::OptionExt; use futures::StreamExt; use reth_db_common::init::init_genesis; use reth_evm_ethereum::execute::EthExecutorProvider; - use reth_primitives::{Block, BlockNumHash}; + use reth_primitives::Block; use reth_provider::{ providers::BlockchainProvider2, test_utils::create_test_provider_factory, BlockWriter, Chain, diff --git a/crates/exex/exex/src/wal/cache.rs b/crates/exex/exex/src/wal/cache.rs index 2c79826e0e17..c70ccc5c26c7 100644 --- a/crates/exex/exex/src/wal/cache.rs +++ b/crates/exex/exex/src/wal/cache.rs @@ -1,8 +1,9 @@ use std::collections::{BTreeMap, VecDeque}; +use alloy_eips::BlockNumHash; +use alloy_primitives::B256; use dashmap::DashMap; use reth_exex_types::ExExNotification; -use reth_primitives::{BlockNumHash, B256}; /// The block cache of the WAL. /// diff --git a/crates/exex/exex/src/wal/mod.rs b/crates/exex/exex/src/wal/mod.rs index 1efda8d84f8e..243974108133 100644 --- a/crates/exex/exex/src/wal/mod.rs +++ b/crates/exex/exex/src/wal/mod.rs @@ -7,8 +7,8 @@ pub use storage::Storage; use std::path::Path; +use alloy_eips::BlockNumHash; use reth_exex_types::ExExNotification; -use reth_primitives::BlockNumHash; use reth_tracing::tracing::{debug, instrument}; /// WAL is a write-ahead log (WAL) that stores the notifications sent to ExExes.