mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
primitives: rm alloy Header reexport (#12515)
This commit is contained in:
@ -1,12 +1,12 @@
|
||||
use crate::{ChainSpec, DepositContract};
|
||||
use alloc::{boxed::Box, vec::Vec};
|
||||
use alloy_chains::Chain;
|
||||
use alloy_consensus::Header;
|
||||
use alloy_eips::eip1559::BaseFeeParams;
|
||||
use alloy_genesis::Genesis;
|
||||
use alloy_primitives::B256;
|
||||
use core::fmt::{Debug, Display};
|
||||
use reth_network_peers::NodeRecord;
|
||||
use reth_primitives_traits::Header;
|
||||
|
||||
/// Trait representing type configuring a chain spec.
|
||||
#[auto_impl::auto_impl(&, Arc)]
|
||||
|
||||
@ -11,7 +11,10 @@ use alloy_genesis::Genesis;
|
||||
use alloy_primitives::{address, b256, Address, BlockNumber, B256, U256};
|
||||
use derive_more::From;
|
||||
|
||||
use alloy_consensus::constants::{DEV_GENESIS_HASH, MAINNET_GENESIS_HASH, SEPOLIA_GENESIS_HASH};
|
||||
use alloy_consensus::{
|
||||
constants::{DEV_GENESIS_HASH, MAINNET_GENESIS_HASH, SEPOLIA_GENESIS_HASH},
|
||||
Header,
|
||||
};
|
||||
use alloy_eips::eip1559::ETHEREUM_BLOCK_GAS_LIMIT;
|
||||
use reth_ethereum_forks::{
|
||||
ChainHardforks, DisplayHardforks, EthereumHardfork, EthereumHardforks, ForkCondition,
|
||||
@ -21,7 +24,7 @@ use reth_network_peers::{
|
||||
base_nodes, base_testnet_nodes, holesky_nodes, mainnet_nodes, op_nodes, op_testnet_nodes,
|
||||
sepolia_nodes, NodeRecord,
|
||||
};
|
||||
use reth_primitives_traits::{constants::HOLESKY_GENESIS_HASH, Header, SealedHeader};
|
||||
use reth_primitives_traits::{constants::HOLESKY_GENESIS_HASH, SealedHeader};
|
||||
use reth_trie_common::root::state_root_ref_unhashed;
|
||||
|
||||
use crate::{constants::MAINNET_DEPOSIT_CONTRACT, once_cell_set, EthChainSpec, LazyLock, OnceLock};
|
||||
|
||||
Reference in New Issue
Block a user