From a18e34b27f8845edf780b2aa13452ed25ed91430 Mon Sep 17 00:00:00 2001 From: jeanmon Date: Tue, 21 May 2024 07:56:26 +0000 Subject: [PATCH] Share decider - backport of #5467 in aztec-packages --- bberg/src/prover_builder.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/bberg/src/prover_builder.rs b/bberg/src/prover_builder.rs index 61f0202e1e..be412cf0d5 100644 --- a/bberg/src/prover_builder.rs +++ b/bberg/src/prover_builder.rs @@ -41,8 +41,8 @@ impl ProverBuilder for BBFiles { void execute_relation_check_rounds(); void execute_zeromorph_rounds(); - HonkProof& export_proof(); - HonkProof& construct_proof(); + HonkProof export_proof(); + HonkProof construct_proof(); std::shared_ptr transcript = std::make_shared(); @@ -203,13 +203,13 @@ impl ProverBuilder for BBFiles { }} - HonkProof& {name}Prover::export_proof() + HonkProof {name}Prover::export_proof() {{ proof = transcript->proof_data; return proof; }} - HonkProof& {name}Prover::construct_proof() + HonkProof {name}Prover::construct_proof() {{ // Add circuit size public input size and public inputs to transcript. execute_preamble_round();