primitives: rm alloy BlockHashOrNumber reexport (#12302)

This commit is contained in:
Thomas Coratger
2024-11-04 11:15:56 +01:00
committed by GitHub
parent 56b76871ed
commit 566f2b4950
17 changed files with 30 additions and 30 deletions

View File

@ -15,8 +15,9 @@ use reth_network_p2p::headers::client::HeadersClient;
use serde::{de::DeserializeOwned, Serialize};
use std::{fs, path::Path};
use alloy_eips::BlockHashOrNumber;
use alloy_primitives::{BlockNumber, B256};
use reth_primitives::{BlockHashOrNumber, Head, SealedHeader};
use reth_primitives::{Head, SealedHeader};
use reth_stages_types::StageId;
use reth_storage_api::{
BlockHashReader, DatabaseProviderFactory, HeaderProvider, StageCheckpointReader,

View File

@ -1,6 +1,7 @@
//! Utility functions for node startup and shutdown, for example path parsing and retrieving single
//! blocks from the network.
use alloy_eips::BlockHashOrNumber;
use alloy_primitives::Sealable;
use alloy_rpc_types_engine::{JwtError, JwtSecret};
use eyre::Result;
@ -11,7 +12,7 @@ use reth_network_p2p::{
headers::client::{HeadersClient, HeadersDirection, HeadersRequest},
priority::Priority,
};
use reth_primitives::{BlockHashOrNumber, SealedBlock, SealedHeader};
use reth_primitives::{SealedBlock, SealedHeader};
use std::{
env::VarError,
path::{Path, PathBuf},