From a5c3c63fe44dc9409a2687604147a228a8bfc056 Mon Sep 17 00:00:00 2001 From: Matthias Seitz Date: Tue, 28 May 2024 17:56:48 +0200 Subject: [PATCH] chore: rm reth-interfaces from auto-seal (#8434) --- Cargo.lock | 3 ++- crates/consensus/auto-seal/Cargo.toml | 3 ++- crates/consensus/auto-seal/src/client.rs | 2 +- crates/consensus/auto-seal/src/lib.rs | 2 +- 4 files changed, 6 insertions(+), 4 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index b19b4d6e81..e2e9e95557 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -6458,7 +6458,8 @@ dependencies = [ "reth-consensus", "reth-engine-primitives", "reth-evm", - "reth-interfaces", + "reth-execution-errors", + "reth-network-p2p", "reth-network-types", "reth-primitives", "reth-provider", diff --git a/crates/consensus/auto-seal/Cargo.toml b/crates/consensus/auto-seal/Cargo.toml index ccbc1e06a3..21e192e282 100644 --- a/crates/consensus/auto-seal/Cargo.toml +++ b/crates/consensus/auto-seal/Cargo.toml @@ -15,7 +15,8 @@ workspace = true # reth reth-beacon-consensus.workspace = true reth-primitives.workspace = true -reth-interfaces.workspace = true +reth-execution-errors.workspace = true +reth-network-p2p.workspace = true reth-provider.workspace = true reth-stages-api.workspace = true reth-revm.workspace = true diff --git a/crates/consensus/auto-seal/src/client.rs b/crates/consensus/auto-seal/src/client.rs index 67a84d5d9e..d89061e961 100644 --- a/crates/consensus/auto-seal/src/client.rs +++ b/crates/consensus/auto-seal/src/client.rs @@ -1,7 +1,7 @@ //! This includes download client implementations for auto sealing miners. use crate::Storage; -use reth_interfaces::p2p::{ +use reth_network_p2p::{ bodies::client::{BodiesClient, BodiesFut}, download::DownloadClient, headers::client::{HeadersClient, HeadersFut, HeadersRequest}, diff --git a/crates/consensus/auto-seal/src/lib.rs b/crates/consensus/auto-seal/src/lib.rs index 69ca048e15..912b9feafb 100644 --- a/crates/consensus/auto-seal/src/lib.rs +++ b/crates/consensus/auto-seal/src/lib.rs @@ -18,7 +18,7 @@ use reth_beacon_consensus::BeaconEngineMessage; use reth_consensus::{Consensus, ConsensusError, PostExecutionInput}; use reth_engine_primitives::EngineTypes; -use reth_interfaces::executor::{BlockExecutionError, BlockValidationError}; +use reth_execution_errors::{BlockExecutionError, BlockValidationError}; use reth_primitives::{ constants::{EMPTY_TRANSACTIONS, ETHEREUM_BLOCK_GAS_LIMIT}, eip4844::calculate_excess_blob_gas,