Skip to content

Commit

Permalink
fix: temporary fix for bb prove w/ ram rom blocks (#3215)
Browse files Browse the repository at this point in the history
bb will fail to verify some proofs with the fail and verify steps
seperated, this pr is a blanket fix, while
  • Loading branch information
Maddiaa0 authored Nov 4, 2023
1 parent 189d1bb commit af93a33
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion barretenberg/acir_tests/Dockerfile.bb
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ COPY --from=0 /usr/src/barretenberg/cpp/build /usr/src/barretenberg/cpp/build
WORKDIR /usr/src/barretenberg/acir_tests
COPY . .
# Run every acir test through native bb build "prove_and_verify".
RUN ./run_acir_tests.sh
RUN FLOW=all_cmds ./run_acir_tests.sh
# Run 1_mul through native bb build, all_cmds flow, to test all cli args.
RUN VERBOSE=1 FLOW=all_cmds ./run_acir_tests.sh 1_mul
1 change: 1 addition & 0 deletions barretenberg/cpp/src/barretenberg/bb/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,7 @@ void prove(const std::string& bytecodePath,
auto constraint_system = get_constraint_system(bytecodePath);
auto witness = get_witness(witnessPath);
auto acir_composer = init(constraint_system);
acir_composer.init_proving_key(constraint_system);
auto proof = acir_composer.create_proof(constraint_system, witness, recursive);

if (outputPath == "-") {
Expand Down

0 comments on commit af93a33

Please sign in to comment.