mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
feat: introduce ChainSpecParser generic in cli types (#10582)
This commit is contained in:
@ -14,12 +14,12 @@
|
||||
|
||||
use clap::Parser;
|
||||
use jsonrpsee::{core::RpcResult, proc_macros::rpc};
|
||||
use reth::cli::Cli;
|
||||
use reth::{args::utils::DefaultChainSpecParser, cli::Cli};
|
||||
use reth_node_ethereum::EthereumNode;
|
||||
use reth_transaction_pool::TransactionPool;
|
||||
|
||||
fn main() {
|
||||
Cli::<RethCliTxpoolExt>::parse()
|
||||
Cli::<DefaultChainSpecParser, RethCliTxpoolExt>::parse()
|
||||
.run(|builder, args| async move {
|
||||
let handle = builder
|
||||
.node(EthereumNode::default())
|
||||
|
||||
Reference in New Issue
Block a user