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:
@ -13,6 +13,7 @@
|
||||
use clap::Parser;
|
||||
use futures_util::StreamExt;
|
||||
use reth::{
|
||||
args::utils::DefaultChainSpecParser,
|
||||
builder::NodeHandle,
|
||||
cli::Cli,
|
||||
primitives::{Address, BlockNumberOrTag, IntoRecoveredTransaction},
|
||||
@ -28,7 +29,7 @@ use reth_node_ethereum::node::EthereumNode;
|
||||
use reth_rpc_types::state::EvmOverrides;
|
||||
|
||||
fn main() {
|
||||
Cli::<RethCliTxpoolExt>::parse()
|
||||
Cli::<DefaultChainSpecParser, RethCliTxpoolExt>::parse()
|
||||
.run(|builder, args| async move {
|
||||
// launch the node
|
||||
let NodeHandle { node, node_exit_future } =
|
||||
|
||||
Reference in New Issue
Block a user