Skip to content

Commit

Permalink
chore(forge): remove forge debug subcommand (#9606)
Browse files Browse the repository at this point in the history
forge: rm subcommand debug

Co-authored-by: 9547 <nivefive9547@gmail.com>
Co-authored-by: zerosnacks <95942363+zerosnacks@users.noreply.github.com>
  • Loading branch information
3 people authored Jan 6, 2025
1 parent 15a9f17 commit dc8d980
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 77 deletions.
69 changes: 0 additions & 69 deletions crates/forge/bin/cmd/debug.rs

This file was deleted.

1 change: 0 additions & 1 deletion crates/forge/bin/cmd/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@ pub mod compiler;
pub mod config;
pub mod coverage;
pub mod create;
pub mod debug;
pub mod doc;
pub mod eip712;
pub mod flatten;
Expand Down
1 change: 0 additions & 1 deletion crates/forge/bin/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,6 @@ fn run() -> Result<()> {
cmd.run().map(drop)
}
}
ForgeSubcommand::Debug(cmd) => utils::block_on(cmd.run()),
ForgeSubcommand::VerifyContract(args) => utils::block_on(args.run()),
ForgeSubcommand::VerifyCheck(args) => utils::block_on(args.run()),
ForgeSubcommand::VerifyBytecode(cmd) => utils::block_on(cmd.run()),
Expand Down
8 changes: 2 additions & 6 deletions crates/forge/bin/opts.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
use crate::cmd::{
bind::BindArgs, bind_json, build::BuildArgs, cache::CacheArgs, clone::CloneArgs,
compiler::CompilerArgs, config, coverage, create::CreateArgs, debug::DebugArgs, doc::DocArgs,
eip712, flatten, fmt::FmtArgs, geiger, generate, init::InitArgs, inspect, install::InstallArgs,
compiler::CompilerArgs, config, coverage, create::CreateArgs, doc::DocArgs, eip712, flatten,
fmt::FmtArgs, geiger, generate, init::InitArgs, inspect, install::InstallArgs,
remappings::RemappingArgs, remove::RemoveArgs, selectors::SelectorsSubcommands, snapshot,
soldeer, test, tree, update,
};
Expand Down Expand Up @@ -61,10 +61,6 @@ pub enum ForgeSubcommand {
/// Clone a contract from Etherscan.
Clone(CloneArgs),

/// Debugs a single smart contract as a script.
#[command(visible_alias = "d")]
Debug(DebugArgs),

/// Update one or multiple dependencies.
///
/// If no arguments are provided, then all dependencies are updated.
Expand Down

0 comments on commit dc8d980

Please sign in to comment.