Skip to content

Commit

Permalink
multiproof: we need at least an extra bit for the table halving trick
Browse files Browse the repository at this point in the history
Signed-off-by: Ignacio Hagopian <jsign.uy@gmail.com>
  • Loading branch information
jsign committed Sep 29, 2023
1 parent 97f793e commit e160b4e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/multiproof/multiproof.zig
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ pub const MultiProof = struct {
E_coefficients[i] = Fr.mul(powers_of_r[i], helper_scalar_den[queries[i].z]);
}
// TODO: make the window size be dynamically calculated.
const E = try pippenger.Pippenger(11).msm(allocator, Cs, E_coefficients);
const E = try pippenger.Pippenger(8).msm(allocator, Cs, E_coefficients);
transcript.appendPoint(E, "E");

// Check IPA proof.
Expand Down

0 comments on commit e160b4e

Please sign in to comment.