diff --git a/Cargo.lock b/Cargo.lock index a6fa1dabb..ccdc8abdf 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -7545,7 +7545,6 @@ dependencies = [ "alloy-rlp", "nybbles", "reth-consensus", - "reth-prune-types", "reth-storage-errors", "thiserror 2.0.11", ] diff --git a/crates/evm/execution-errors/Cargo.toml b/crates/evm/execution-errors/Cargo.toml index 70ae29ae2..3d783353c 100644 --- a/crates/evm/execution-errors/Cargo.toml +++ b/crates/evm/execution-errors/Cargo.toml @@ -14,7 +14,6 @@ workspace = true # reth reth-consensus.workspace = true reth-storage-errors.workspace = true -reth-prune-types.workspace = true alloy-primitives.workspace = true alloy-rlp.workspace = true diff --git a/crates/evm/execution-errors/src/lib.rs b/crates/evm/execution-errors/src/lib.rs index 35160a79e..09154c355 100644 --- a/crates/evm/execution-errors/src/lib.rs +++ b/crates/evm/execution-errors/src/lib.rs @@ -18,7 +18,6 @@ use alloc::{ use alloy_eips::BlockNumHash; use alloy_primitives::B256; use reth_consensus::ConsensusError; -use reth_prune_types::PruneSegmentError; use reth_storage_errors::provider::ProviderError; use thiserror::Error; @@ -157,9 +156,6 @@ impl From for BlockExecutionError { /// Internal (i.e., not validation or consensus related) `BlockExecutor` Errors #[derive(Error, Debug)] pub enum InternalBlockExecutionError { - /// Pruning error, transparently wrapping [`PruneSegmentError`] - #[error(transparent)] - Pruning(#[from] PruneSegmentError), /// Error when appending chain on fork is not possible #[error( "appending chain on fork (other_chain_fork:?) is not possible as the tip is {chain_tip:?}" @@ -170,9 +166,9 @@ pub enum InternalBlockExecutionError { /// The fork on the other chain other_chain_fork: Box, }, - /// Error when fetching latest block state. + /// Error when fetching data from the db. #[error(transparent)] - LatestBlock(#[from] ProviderError), + Provider(#[from] ProviderError), /// Arbitrary Block Executor Errors #[error(transparent)] Other(Box),