mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
primitives: rm alloy BlockHashOrNumber reexport (#12302)
This commit is contained in:
@ -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,
|
||||
|
||||
@ -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},
|
||||
|
||||
Reference in New Issue
Block a user