mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
primitives: rm alloy BlockNumHash reexport (#12304)
This commit is contained in:
@ -1,4 +1,4 @@
|
||||
use reth_primitives::BlockNumHash;
|
||||
use alloy_eips::BlockNumHash;
|
||||
|
||||
/// Events emitted by an `ExEx`.
|
||||
#[derive(Debug, Clone, Copy, PartialEq, Eq)]
|
||||
|
||||
@ -1,13 +1,14 @@
|
||||
use crate::{
|
||||
wal::Wal, ExExEvent, ExExNotification, ExExNotifications, FinishedExExHeight, WalHandle,
|
||||
};
|
||||
use alloy_eips::BlockNumHash;
|
||||
use futures::StreamExt;
|
||||
use itertools::Itertools;
|
||||
use metrics::Gauge;
|
||||
use reth_chain_state::ForkChoiceStream;
|
||||
use reth_chainspec::Head;
|
||||
use reth_metrics::{metrics::Counter, Metrics};
|
||||
use reth_primitives::{BlockNumHash, SealedHeader};
|
||||
use reth_primitives::SealedHeader;
|
||||
use reth_provider::HeaderProvider;
|
||||
use reth_tracing::tracing::debug;
|
||||
use std::{
|
||||
|
||||
@ -33,6 +33,9 @@ reth-tasks.workspace = true
|
||||
reth-transaction-pool = { workspace = true, features = ["test-utils"] }
|
||||
reth-trie-db.workspace = true
|
||||
|
||||
## alloy
|
||||
alloy-eips.workspace = true
|
||||
|
||||
## async
|
||||
futures-util.workspace = true
|
||||
tokio.workspace = true
|
||||
|
||||
@ -15,6 +15,7 @@ use std::{
|
||||
task::Poll,
|
||||
};
|
||||
|
||||
use alloy_eips::BlockNumHash;
|
||||
use futures_util::FutureExt;
|
||||
use reth_blockchain_tree::noop::NoopBlockchainTree;
|
||||
use reth_chainspec::{ChainSpec, MAINNET};
|
||||
@ -44,7 +45,7 @@ use reth_node_ethereum::{
|
||||
EthEngineTypes, EthEvmConfig,
|
||||
};
|
||||
use reth_payload_builder::noop::NoopPayloadBuilderService;
|
||||
use reth_primitives::{BlockNumHash, Head, SealedBlockWithSenders};
|
||||
use reth_primitives::{Head, SealedBlockWithSenders};
|
||||
use reth_provider::{
|
||||
providers::{BlockchainProvider, StaticFileProvider},
|
||||
BlockReader, ProviderFactory,
|
||||
|
||||
Reference in New Issue
Block a user