chore: rm unused cli args (#14295)

This commit is contained in:
Matthias Seitz
2025-02-07 10:40:24 +01:00
committed by GitHub
parent d07db4bbe0
commit 69050721ea
4 changed files with 2 additions and 173 deletions

View File

@ -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.

View File

@ -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,