Skip to content

Commit dc8d980

Browse files
9547zerosnacks
andauthored
chore(forge): remove forge debug subcommand (#9606)
forge: rm subcommand debug Co-authored-by: 9547 <[email protected]> Co-authored-by: zerosnacks <[email protected]>
1 parent 15a9f17 commit dc8d980

File tree

4 files changed

+2
-77
lines changed

4 files changed

+2
-77
lines changed

crates/forge/bin/cmd/debug.rs

Lines changed: 0 additions & 69 deletions
This file was deleted.

crates/forge/bin/cmd/mod.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,6 @@ pub mod compiler;
4848
pub mod config;
4949
pub mod coverage;
5050
pub mod create;
51-
pub mod debug;
5251
pub mod doc;
5352
pub mod eip712;
5453
pub mod flatten;

crates/forge/bin/main.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,6 @@ fn run() -> Result<()> {
5858
cmd.run().map(drop)
5959
}
6060
}
61-
ForgeSubcommand::Debug(cmd) => utils::block_on(cmd.run()),
6261
ForgeSubcommand::VerifyContract(args) => utils::block_on(args.run()),
6362
ForgeSubcommand::VerifyCheck(args) => utils::block_on(args.run()),
6463
ForgeSubcommand::VerifyBytecode(cmd) => utils::block_on(cmd.run()),

crates/forge/bin/opts.rs

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
use crate::cmd::{
22
bind::BindArgs, bind_json, build::BuildArgs, cache::CacheArgs, clone::CloneArgs,
3-
compiler::CompilerArgs, config, coverage, create::CreateArgs, debug::DebugArgs, doc::DocArgs,
4-
eip712, flatten, fmt::FmtArgs, geiger, generate, init::InitArgs, inspect, install::InstallArgs,
3+
compiler::CompilerArgs, config, coverage, create::CreateArgs, doc::DocArgs, eip712, flatten,
4+
fmt::FmtArgs, geiger, generate, init::InitArgs, inspect, install::InstallArgs,
55
remappings::RemappingArgs, remove::RemoveArgs, selectors::SelectorsSubcommands, snapshot,
66
soldeer, test, tree, update,
77
};
@@ -61,10 +61,6 @@ pub enum ForgeSubcommand {
6161
/// Clone a contract from Etherscan.
6262
Clone(CloneArgs),
6363

64-
/// Debugs a single smart contract as a script.
65-
#[command(visible_alias = "d")]
66-
Debug(DebugArgs),
67-
6864
/// Update one or multiple dependencies.
6965
///
7066
/// If no arguments are provided, then all dependencies are updated.

0 commit comments

Comments
 (0)