mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
chore: extract block execution errors (#8386)
This commit is contained in:
@ -1,6 +1,6 @@
|
||||
//! Error types for the Optimism EVM module.
|
||||
|
||||
use reth_interfaces::executor::BlockExecutionError;
|
||||
use reth_evm::execute::BlockExecutionError;
|
||||
|
||||
/// Optimism Block Executor Errors
|
||||
#[derive(thiserror::Error, Debug, Clone, PartialEq, Eq)]
|
||||
|
||||
@ -3,15 +3,11 @@
|
||||
use crate::{l1::ensure_create2_deployer, OptimismBlockExecutionError, OptimismEvmConfig};
|
||||
use reth_evm::{
|
||||
execute::{
|
||||
BatchBlockExecutionOutput, BatchExecutor, BlockExecutionInput, BlockExecutionOutput,
|
||||
BlockExecutorProvider, Executor,
|
||||
BatchBlockExecutionOutput, BatchExecutor, BlockExecutionError, BlockExecutionInput,
|
||||
BlockExecutionOutput, BlockExecutorProvider, BlockValidationError, Executor, ProviderError,
|
||||
},
|
||||
ConfigureEvm,
|
||||
};
|
||||
use reth_interfaces::{
|
||||
executor::{BlockExecutionError, BlockValidationError},
|
||||
provider::ProviderError,
|
||||
};
|
||||
use reth_optimism_consensus::validate_block_post_execution;
|
||||
use reth_primitives::{
|
||||
BlockNumber, BlockWithSenders, ChainSpec, Hardfork, Header, PruneModes, Receipt, Receipts,
|
||||
|
||||
Reference in New Issue
Block a user