Skip to content

Commit

Permalink
chore: remove unused args
Browse files Browse the repository at this point in the history
  • Loading branch information
TomAFrench committed Feb 28, 2025
1 parent 7a8cb30 commit cefcd25
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 20 deletions.
18 changes: 1 addition & 17 deletions tooling/artifact_cli/src/commands/execute_cmd.rs
Original file line number Diff line number Diff line change
Expand Up @@ -40,25 +40,9 @@ pub struct ExecuteCommand {
#[clap(long)]
pub contract_fn: Option<String>,

/// Part to the Oracle.toml file which contains the Oracle transcript,
/// which is a list of responses captured during an earlier execution.
///
/// Note that a transcript might be invalid if the inputs change and
/// the circuit takes a different path during execution.
#[clap(long, conflicts_with = "oracle_resolver")]
pub oracle_file: Option<String>,

/// JSON RPC url to solve oracle calls.
#[clap(long, conflicts_with = "oracle_file")]
pub oracle_resolver: Option<String>,

/// Root directory for the RPC oracle resolver.
#[clap(long, value_parser = parse_and_normalize_path)]
pub oracle_root_dir: Option<PathBuf>,

/// Package name for the RPC oracle resolver
#[clap(long)]
pub oracle_package_name: Option<String>,
pub oracle_resolver: Option<String>,

/// Use pedantic ACVM solving, i.e. double-check some black-box function assumptions when solving.
#[clap(long, default_value_t = false)]
Expand Down
3 changes: 0 additions & 3 deletions tooling/nargo_cli/src/cli/execute_cmd.rs
Original file line number Diff line number Diff line change
Expand Up @@ -61,10 +61,7 @@ pub(crate) fn run(args: ExecuteCommand, workspace: Workspace) -> Result<(), CliE
args.witness_name.clone().unwrap_or_else(|| package.name.to_string()),
),
contract_fn: None,
oracle_file: None,
oracle_resolver: args.oracle_resolver.clone(),
oracle_root_dir: Some(workspace.root_dir.clone()),
oracle_package_name: Some(package.name.to_string()),
pedantic_solving: args.compile_options.pedantic_solving,
};

Expand Down

0 comments on commit cefcd25

Please sign in to comment.