diff --git a/Cargo.lock b/Cargo.lock index 68e043763..161f886c3 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -6550,7 +6550,6 @@ dependencies = [ "reth-evm", "reth-evm-ethereum", "reth-execution-errors", - "reth-interfaces", "reth-metrics", "reth-network", "reth-primitives", @@ -6558,6 +6557,7 @@ dependencies = [ "reth-revm", "reth-stages-api", "reth-storage-errors", + "reth-testing-utils", "reth-trie", "reth-trie-parallel", "tokio", diff --git a/crates/blockchain-tree/Cargo.toml b/crates/blockchain-tree/Cargo.toml index 58ee1cda5..9ba786a89 100644 --- a/crates/blockchain-tree/Cargo.toml +++ b/crates/blockchain-tree/Cargo.toml @@ -23,7 +23,7 @@ reth-provider.workspace = true reth-stages-api.workspace = true reth-trie = { workspace = true, features = ["metrics"] } reth-trie-parallel = { workspace = true, features = ["parallel"] } -reth-network = { workspace = true } +reth-network.workspace = true reth-consensus.workspace = true # common @@ -41,10 +41,10 @@ linked_hash_set = "0.1.4" [dev-dependencies] reth-db = { workspace = true, features = ["test-utils"] } -reth-interfaces = { workspace = true, features = ["test-utils"] } reth-primitives = { workspace = true , features = ["test-utils"] } reth-provider = { workspace = true, features = ["test-utils"] } reth-evm = { workspace = true, features = ["test-utils"] } +reth-testing-utils.workspace = true reth-revm.workspace = true reth-evm-ethereum.workspace = true parking_lot.workspace = true diff --git a/crates/blockchain-tree/src/block_buffer.rs b/crates/blockchain-tree/src/block_buffer.rs index 19ff9368b..25e3f32ad 100644 --- a/crates/blockchain-tree/src/block_buffer.rs +++ b/crates/blockchain-tree/src/block_buffer.rs @@ -182,11 +182,11 @@ impl BlockBuffer { #[cfg(test)] mod tests { use crate::BlockBuffer; - use reth_interfaces::test_utils::{ + use reth_primitives::{BlockHash, BlockNumHash, SealedBlockWithSenders}; + use reth_testing_utils::{ generators, generators::{random_block, Rng}, }; - use reth_primitives::{BlockHash, BlockNumHash, SealedBlockWithSenders}; use std::collections::HashMap; /// Create random block with specified number and parent hash.