chore: extract block execution errors (#8386)

This commit is contained in:
Matthias Seitz
2024-05-24 12:11:08 +02:00
committed by GitHub
parent 6df2b1c1e9
commit 9f61d1856f
17 changed files with 78 additions and 39 deletions

View File

@ -1,10 +1,12 @@
//! Traits for execution.
use reth_interfaces::{executor::BlockExecutionError, provider::ProviderError};
use reth_primitives::{BlockNumber, BlockWithSenders, PruneModes, Receipt, Receipts, U256};
use revm::db::BundleState;
use revm_primitives::db::Database;
pub use reth_execution_errors::{BlockExecutionError, BlockValidationError};
pub use reth_storage_errors::provider::ProviderError;
/// A general purpose executor trait that executes an input (e.g. block) and produces an output
/// (e.g. state changes and receipts).
///