mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
chore: rm unused cli args (#14295)
This commit is contained in:
@ -31,7 +31,7 @@ pub enum Subcommands<C: ChainSpecParser> {
|
||||
/// assuming that all the data can be held in memory. It is not recommended
|
||||
/// to run a stage for really large block ranges if your computer does not have
|
||||
/// a lot of memory to store all the data.
|
||||
Run(run::Command<C>),
|
||||
Run(Box<run::Command<C>>),
|
||||
/// Drop a stage's tables from the database.
|
||||
Drop(drop::Command<C>),
|
||||
/// Dumps a stage from a range into a new database.
|
||||
|
||||
@ -12,7 +12,6 @@ use reth_db::DatabaseEnv;
|
||||
use reth_downloaders::{bodies::noop::NoopBodiesDownloader, headers::noop::NoopHeaderDownloader};
|
||||
use reth_evm::noop::NoopBlockExecutorProvider;
|
||||
use reth_exex::ExExManagerHandle;
|
||||
use reth_node_core::args::NetworkArgs;
|
||||
use reth_provider::{
|
||||
providers::ProviderNodeTypes, BlockExecutionWriter, BlockNumReader, ChainStateBlockReader,
|
||||
ChainStateBlockWriter, ProviderFactory, StaticFileProviderFactory, StorageLocation,
|
||||
@ -33,9 +32,6 @@ pub struct Command<C: ChainSpecParser> {
|
||||
#[command(flatten)]
|
||||
env: EnvironmentArgs<C>,
|
||||
|
||||
#[command(flatten)]
|
||||
network: NetworkArgs,
|
||||
|
||||
#[command(subcommand)]
|
||||
command: Subcommands,
|
||||
|
||||
|
||||
Reference in New Issue
Block a user