From 2e08823a7c1b95ed22b4dbf17095c9f6b58c0ff5 Mon Sep 17 00:00:00 2001 From: Matthias Seitz Date: Wed, 29 May 2024 17:17:49 +0200 Subject: [PATCH] chore: rm reth-interfaces from bin stages --- Cargo.lock | 1 - crates/stages/Cargo.toml | 2 +- crates/stages/benches/setup/mod.rs | 12 ++++++------ 3 files changed, 7 insertions(+), 8 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 161f886c348a..a1db9b8b139d 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -7964,7 +7964,6 @@ dependencies = [ "reth-evm-ethereum", "reth-execution-errors", "reth-exex", - "reth-interfaces", "reth-network-p2p", "reth-network-types", "reth-primitives", diff --git a/crates/stages/Cargo.toml b/crates/stages/Cargo.toml index c78d10488e93..7f300fa5ef22 100644 --- a/crates/stages/Cargo.toml +++ b/crates/stages/Cargo.toml @@ -50,8 +50,8 @@ reth-primitives = { workspace = true, features = ["test-utils", "arbitrary"] } reth-db = { workspace = true, features = ["test-utils", "mdbx"] } reth-evm-ethereum.workspace = true reth-execution-errors.workspace = true -reth-interfaces = { workspace = true, features = ["test-utils"] } reth-consensus = { workspace = true, features = ["test-utils"] } +reth-network-p2p = { workspace = true, features = ["test-utils"] } reth-downloaders.workspace = true reth-revm.workspace = true reth-static-file.workspace = true diff --git a/crates/stages/benches/setup/mod.rs b/crates/stages/benches/setup/mod.rs index 06e15192b159..cbfd44c4d41d 100644 --- a/crates/stages/benches/setup/mod.rs +++ b/crates/stages/benches/setup/mod.rs @@ -7,18 +7,18 @@ use reth_db::{ transaction::{DbTx, DbTxMut}, DatabaseEnv, }; -use reth_interfaces::test_utils::{ +use reth_primitives::{Account, Address, SealedBlock, B256, U256}; +use reth_stages::{ + stages::{AccountHashingStage, StorageHashingStage}, + test_utils::{StorageKind, TestStageDB}, +}; +use reth_testing_utils::{ generators, generators::{ random_block_range, random_changeset_range, random_contract_account_range, random_eoa_accounts, }, }; -use reth_primitives::{Account, Address, SealedBlock, B256, U256}; -use reth_stages::{ - stages::{AccountHashingStage, StorageHashingStage}, - test_utils::{StorageKind, TestStageDB}, -}; use reth_trie::StateRoot; use std::{collections::BTreeMap, fs, path::Path, sync::Arc}; use tokio::runtime::Handle;