chore: remove InspectorStack (#8073)

This commit is contained in:
Matthias Seitz
2024-05-03 14:15:04 +02:00
committed by GitHub
parent 067b0ff420
commit 90f3161256
10 changed files with 15 additions and 334 deletions

View File

@@ -1,7 +1,7 @@
//! clap [Args](clap::Args) for debugging purposes
use clap::Args;
use reth_primitives::{TxHash, B256};
use reth_primitives::B256;
use std::path::PathBuf;
/// Parameters for debugging purposes
@@ -28,37 +28,6 @@ pub struct DebugArgs {
#[arg(long = "debug.max-block", help_heading = "Debug")]
pub max_block: Option<u64>,
/// Print opcode level traces directly to console during execution.
#[arg(long = "debug.print-inspector", help_heading = "Debug")]
pub print_inspector: bool,
/// Hook on a specific block during execution.
#[arg(
long = "debug.hook-block",
help_heading = "Debug",
conflicts_with = "hook_transaction",
conflicts_with = "hook_all"
)]
pub hook_block: Option<u64>,
/// Hook on a specific transaction during execution.
#[arg(
long = "debug.hook-transaction",
help_heading = "Debug",
conflicts_with = "hook_block",
conflicts_with = "hook_all"
)]
pub hook_transaction: Option<TxHash>,
/// Hook on every transaction in a block.
#[arg(
long = "debug.hook-all",
help_heading = "Debug",
conflicts_with = "hook_block",
conflicts_with = "hook_transaction"
)]
pub hook_all: bool,
/// If provided, the engine will skip `n` consecutive FCUs.
#[arg(long = "debug.skip-fcu", help_heading = "Debug")]
pub skip_fcu: Option<usize>,