chore(node-api): move FullNodeComponents from builder (#7597)

Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
This commit is contained in:
Alexey Shekhirin
2024-04-12 15:39:02 +01:00
committed by GitHub
parent 9a4c01fbee
commit e1ebc2f06b
16 changed files with 182 additions and 162 deletions

View File

@@ -1,6 +1,7 @@
use futures_util::StreamExt;
use reth::{
builder::{components::FullNodeComponents, FullNode, NodeBuilder, NodeHandle},
api::FullNodeComponents,
builder::{FullNode, NodeBuilder, NodeHandle},
providers::CanonStateSubscriptions,
rpc::eth::EthTransactions,
tasks::TaskManager,
@@ -55,7 +56,7 @@ async fn assert_chain_advances<Node: FullNodeComponents>(mut node: FullNode<Node
fn custom_chain() -> Arc<ChainSpec> {
let custom_genesis = r#"
{
"nonce": "0x42",
"timestamp": "0x0",
"extraData": "0x5343",