mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 19:09:54 +00:00
chore: extract block execution errors (#8386)
This commit is contained in:
@ -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).
|
||||
///
|
||||
|
||||
Reference in New Issue
Block a user