mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
blockchain-tree-api:replace reth_primitives with alloy_primitives (#10946)
Signed-off-by: Abhishekkochar <abhishekkochar2@gmail.com>
This commit is contained in:
@ -16,5 +16,8 @@ reth-execution-errors.workspace = true
|
||||
reth-primitives.workspace = true
|
||||
reth-storage-errors.workspace = true
|
||||
|
||||
# alloy
|
||||
alloy-primitives.workspace = true
|
||||
|
||||
# misc
|
||||
thiserror.workspace = true
|
||||
|
||||
@ -1,10 +1,11 @@
|
||||
//! Error handling for the blockchain tree
|
||||
|
||||
use alloy_primitives::{BlockHash, BlockNumber};
|
||||
use reth_consensus::ConsensusError;
|
||||
use reth_execution_errors::{
|
||||
BlockExecutionError, BlockValidationError, InternalBlockExecutionError,
|
||||
};
|
||||
use reth_primitives::{BlockHash, BlockNumber, SealedBlock};
|
||||
use reth_primitives::SealedBlock;
|
||||
pub use reth_storage_errors::provider::ProviderError;
|
||||
|
||||
/// Various error cases that can occur when a block violates tree assumptions.
|
||||
|
||||
@ -9,10 +9,8 @@
|
||||
|
||||
use self::error::CanonicalError;
|
||||
use crate::error::InsertBlockError;
|
||||
use reth_primitives::{
|
||||
BlockHash, BlockNumHash, BlockNumber, Receipt, SealedBlock, SealedBlockWithSenders,
|
||||
SealedHeader,
|
||||
};
|
||||
use alloy_primitives::{BlockHash, BlockNumber};
|
||||
use reth_primitives::{BlockNumHash, Receipt, SealedBlock, SealedBlockWithSenders, SealedHeader};
|
||||
use reth_storage_errors::provider::{ProviderError, ProviderResult};
|
||||
use std::collections::BTreeMap;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user