Skip to content

Commit

Permalink
chore(bb): update some help commands (#12397)
Browse files Browse the repository at this point in the history
  • Loading branch information
Maddiaa0 authored Mar 3, 2025
1 parent 5ac7a37 commit a447ad7
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions barretenberg/cpp/src/barretenberg/bb/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -161,24 +161,23 @@ int main(int argc, char* argv[])
};

const auto add_write_vk_flag = [&](CLI::App* subcommand) {
return subcommand->add_flag(
"--write_vk", flags.write_vk, "Should the prove command additionally write the verification key?");
return subcommand->add_flag("--write_vk", flags.write_vk, "Write the provided circuit's verification key");
};

const auto add_input_type_option = [&](CLI::App* subcommand) {
auto* input_type_option =
subcommand
->add_option("--input_type",
flags.input_type,
"Is the input a single circuit, a compile-time stack or a run-time stack?")
"Specify the type of input circuit. Options are: single_circuit, compiletime_stack, "
"runtime_stack")
->check(CLI::IsMember({ "single_circuit", "compiletime_stack", "runtime_stack" }).name("is_member"));
return input_type_option;
};

const auto add_ipa_accumulation_flag = [&](CLI::App* subcommand) {
return subcommand->add_flag("--ipa_accumulation",
flags.ipa_accumulation,
"Does the protocol accumulate/aggregate IPA (Inner Product Argument) claims?");
return subcommand->add_flag(
"--ipa_accumulation", flags.ipa_accumulation, "Accumulate/Aggregate IPA (Inner Product Argument) claims");
};

const auto add_zk_option = [&](CLI::App* subcommand) {
Expand Down

1 comment on commit a447ad7

@AztecBot
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Performance Alert ⚠️

Possible performance regression was detected for benchmark 'C++ Benchmark'.
Benchmark result of this commit is worse than the previous benchmark result exceeding threshold 1.05.

Benchmark suite Current: a447ad7 Previous: 5ac7a37 Ratio
wasmconstruct_proof_ultrahonk_power_of_2/20 10862.942696999999 ms/iter 9527.712418000001 ms/iter 1.14
Goblin::merge(t) 228252316 ns/iter 211296714 ns/iter 1.08

This comment was automatically generated by workflow using github-action-benchmark.

CC: @ludamad @codygunton

Please sign in to comment.