Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion crates/cli/commands/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ pub mod node;
pub mod p2p;
pub mod prune;
pub mod re_execute;
pub mod recover;
pub mod stage;
#[cfg(feature = "arbitrary")]
pub mod test_vectors;
Expand Down
45 changes: 0 additions & 45 deletions crates/cli/commands/src/recover/mod.rs

This file was deleted.

76 changes: 0 additions & 76 deletions crates/cli/commands/src/recover/storage_tries.rs

This file was deleted.

3 changes: 0 additions & 3 deletions crates/ethereum/cli/src/app.rs
Original file line number Diff line number Diff line change
Expand Up @@ -165,9 +165,6 @@ where
}
Commands::P2P(command) => runner.run_until_ctrl_c(command.execute::<N>()),
Commands::Config(command) => runner.run_until_ctrl_c(command.execute()),
Commands::Recover(command) => {
runner.run_command_until_exit(|ctx| command.execute::<N>(ctx))
}
Commands::Prune(command) => runner.run_until_ctrl_c(command.execute::<N>()),
#[cfg(feature = "dev")]
Commands::TestVectors(command) => runner.run_until_ctrl_c(command.execute()),
Expand Down
6 changes: 1 addition & 5 deletions crates/ethereum/cli/src/interface.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ use reth_cli_commands::{
config_cmd, db, download, dump_genesis, export_era, import, import_era, init_cmd, init_state,
launcher::FnLauncher,
node::{self, NoArgs},
p2p, prune, re_execute, recover, stage,
p2p, prune, re_execute, stage,
};
use reth_cli_runner::CliRunner;
use reth_db::DatabaseEnv;
Expand Down Expand Up @@ -260,9 +260,6 @@ pub enum Commands<C: ChainSpecParser, Ext: clap::Args + fmt::Debug> {
/// Write config to stdout
#[command(name = "config")]
Config(config_cmd::Command),
/// Scripts for node recovery
#[command(name = "recover")]
Recover(recover::Command<C>),
/// Prune according to the configuration without any limits
#[command(name = "prune")]
Prune(prune::PruneCommand<C>),
Expand All @@ -289,7 +286,6 @@ impl<C: ChainSpecParser, Ext: clap::Args + fmt::Debug> Commands<C, Ext> {
#[cfg(feature = "dev")]
Self::TestVectors(_) => None,
Self::Config(_) => None,
Self::Recover(cmd) => cmd.chain_spec(),
Self::Prune(cmd) => cmd.chain_spec(),
Self::ReExecute(cmd) => cmd.chain_spec(),
}
Expand Down
3 changes: 0 additions & 3 deletions crates/optimism/cli/src/app.rs
Original file line number Diff line number Diff line change
Expand Up @@ -102,9 +102,6 @@ where
}
Commands::P2P(command) => runner.run_until_ctrl_c(command.execute::<OpNode>()),
Commands::Config(command) => runner.run_until_ctrl_c(command.execute()),
Commands::Recover(command) => {
runner.run_command_until_exit(|ctx| command.execute::<OpNode>(ctx))
}
Commands::Prune(command) => runner.run_until_ctrl_c(command.execute::<OpNode>()),
#[cfg(feature = "dev")]
Commands::TestVectors(command) => runner.run_until_ctrl_c(command.execute()),
Expand Down
6 changes: 1 addition & 5 deletions crates/optimism/cli/src/commands/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ use reth_cli::chainspec::ChainSpecParser;
use reth_cli_commands::{
config_cmd, db, dump_genesis, init_cmd,
node::{self, NoArgs},
p2p, prune, re_execute, recover, stage,
p2p, prune, re_execute, stage,
};
use std::{fmt, sync::Arc};

Expand Down Expand Up @@ -51,9 +51,6 @@ pub enum Commands<Spec: ChainSpecParser = OpChainSpecParser, Ext: clap::Args + f
/// Write config to stdout
#[command(name = "config")]
Config(config_cmd::Command),
/// Scripts for node recovery
#[command(name = "recover")]
Recover(recover::Command<Spec>),
/// Prune according to the configuration without any limits
#[command(name = "prune")]
Prune(prune::PruneCommand<Spec>),
Expand Down Expand Up @@ -82,7 +79,6 @@ impl<
Self::Stage(cmd) => cmd.chain_spec(),
Self::P2P(cmd) => cmd.chain_spec(),
Self::Config(_) => None,
Self::Recover(cmd) => cmd.chain_spec(),
Self::Prune(cmd) => cmd.chain_spec(),
Self::ImportOp(cmd) => cmd.chain_spec(),
Self::ImportReceiptsOp(cmd) => cmd.chain_spec(),
Expand Down
2 changes: 0 additions & 2 deletions docs/vocs/docs/pages/cli/SUMMARY.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,5 @@
- [`reth p2p rlpx ping`](/cli/reth/p2p/rlpx/ping)
- [`reth p2p bootnode`](/cli/reth/p2p/bootnode)
- [`reth config`](/cli/reth/config)
- [`reth recover`](/cli/reth/recover)
- [`reth recover storage-tries`](/cli/reth/recover/storage-tries)
- [`reth prune`](/cli/reth/prune)
- [`reth re-execute`](/cli/reth/re-execute)
1 change: 0 additions & 1 deletion docs/vocs/docs/pages/cli/reth.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ Commands:
stage Manipulate individual stages
p2p P2P Debugging utilities
config Write config to stdout
recover Scripts for node recovery
prune Prune according to the configuration without any limits
re-execute Re-execute blocks in parallel to verify historical sync correctness
help Print this message or the help of the given subcommand(s)
Expand Down
Loading