Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Print finalized size and log dyadic size during Ultra proof construction #9411

Merged
merged 1 commit into from
Oct 24, 2024
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
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,8 @@ template <IsHonkFlavor Flavor> class DeciderProvingKey_ {

circuit.finalize_circuit(/* ensure_nonzero = */ true);

info("Finalized circuit size: ", circuit.num_gates);

// If using a structured trace, set fixed block sizes, check their validity, and set the dyadic circuit size
if (is_structured) {
circuit.blocks.set_fixed_block_sizes(trace_structure); // set the fixed sizes for each block
Expand All @@ -65,6 +67,8 @@ template <IsHonkFlavor Flavor> class DeciderProvingKey_ {
dyadic_circuit_size = compute_dyadic_size(circuit); // set dyadic size directly from circuit block sizes
}

info("Log dyadic circuit size: ", numeric::get_msb(dyadic_circuit_size));

// Complete the public inputs execution trace block from circuit.public_inputs
Trace::populate_public_inputs_block(circuit);
circuit.blocks.compute_offsets(is_structured);
Expand Down
Loading