primitives: rm alloy BlockNumHash reexport (#12304)

This commit is contained in:
Thomas Coratger
2024-11-04 15:54:58 +01:00
committed by GitHub
parent 3fe22343f1
commit d5f0103601
14 changed files with 29 additions and 19 deletions

View File

@ -1,4 +1,4 @@
use reth_primitives::BlockNumHash;
use alloy_eips::BlockNumHash;
/// Events emitted by an `ExEx`.
#[derive(Debug, Clone, Copy, PartialEq, Eq)]

View File

@ -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::{

View File

@ -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

View File

@ -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,