mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
feat: make NodeConfig generic over ChainSpec (#11039)
This commit is contained in:
@ -1,6 +1,6 @@
|
||||
use std::fmt::Debug;
|
||||
|
||||
use reth_node_api::{FullNodeComponents, NodeTypesWithEngine};
|
||||
use reth_node_api::{FullNodeComponents, NodeTypes, NodeTypesWithEngine};
|
||||
use reth_node_core::node_config::NodeConfig;
|
||||
use reth_primitives::Head;
|
||||
use reth_tasks::TaskExecutor;
|
||||
@ -13,7 +13,7 @@ pub struct ExExContext<Node: FullNodeComponents> {
|
||||
/// The current head of the blockchain at launch.
|
||||
pub head: Head,
|
||||
/// The config of the node
|
||||
pub config: NodeConfig,
|
||||
pub config: NodeConfig<<Node::Types as NodeTypes>::ChainSpec>,
|
||||
/// The loaded node config
|
||||
pub reth_config: reth_config::Config,
|
||||
/// Channel used to send [`ExExEvent`]s to the rest of the node.
|
||||
|
||||
Reference in New Issue
Block a user