mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
feat: ChainSpec associated type (#10292)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
This commit is contained in:
@ -111,11 +111,12 @@ pub struct TestNode;
|
||||
impl NodeTypes for TestNode {
|
||||
type Primitives = ();
|
||||
type Engine = EthEngineTypes;
|
||||
type ChainSpec = ChainSpec;
|
||||
}
|
||||
|
||||
impl<N> Node<N> for TestNode
|
||||
where
|
||||
N: FullNodeTypes<Engine = EthEngineTypes>,
|
||||
N: FullNodeTypes<Engine = EthEngineTypes, ChainSpec = ChainSpec>,
|
||||
{
|
||||
type ComponentsBuilder = ComponentsBuilder<
|
||||
N,
|
||||
|
||||
Reference in New Issue
Block a user