Skip to content
Merged
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
8 changes: 4 additions & 4 deletions barretenberg/cpp/src/barretenberg/chonk/chonk.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -413,15 +413,15 @@ void Chonk::accumulate(ClientCircuit& circuit, const std::shared_ptr<MegaVerific
// Construct the prover instance for circuit
std::shared_ptr<ProverInstance> prover_instance = std::make_shared<ProverInstance>(circuit);

#ifndef NDEBUG
debug_incoming_circuit(circuit, prover_instance, precomputed_vk);
#endif

// Free circuit block memory (wires and selectors) now that they've been copied to prover polynomials
for (auto& block : circuit.blocks.get()) {
block.free_data();
}

#ifndef NDEBUG
debug_incoming_circuit(circuit, prover_instance, precomputed_vk);
#endif

// We're accumulating a kernel if the verification queue is empty (because the kernel circuit contains recursive
// verifiers for all the entries previously present in the verification queue) and if it's not the first accumulate
// call (which will always be for an app circuit).
Expand Down
Loading