Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(forge): remove forge debug subcommand #9606

Merged
merged 2 commits into from
Jan 6, 2025
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
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
Loading