feat: make engine block downloaders generic over block (#13273)

This commit is contained in:
Arsenii Kulikov
2024-12-10 19:38:37 +04:00
committed by GitHub
parent 4c39b98b62
commit 88a9bd72d4
8 changed files with 74 additions and 60 deletions

View File

@ -27,7 +27,7 @@ use reth_node_core::{
primitives::Head,
};
use reth_node_events::{cl::ConsensusLayerHealthEvents, node};
use reth_primitives::EthereumHardforks;
use reth_primitives::{EthPrimitives, EthereumHardforks};
use reth_provider::providers::BlockchainProvider2;
use reth_tasks::TaskExecutor;
use reth_tokio_util::EventSender;
@ -69,7 +69,7 @@ impl EngineNodeLauncher {
impl<Types, T, CB, AO> LaunchNode<NodeBuilderWithComponents<T, CB, AO>> for EngineNodeLauncher
where
Types: EngineNodeTypes,
Types: EngineNodeTypes<Primitives = EthPrimitives>,
T: FullNodeTypes<Types = Types, Provider = BlockchainProvider2<Types>>,
CB: NodeComponentsBuilder<T>,
AO: RethRpcAddOns<NodeAdapter<T, CB::Components>>