Skip to content

Commit

Permalink
removing the check
Browse files Browse the repository at this point in the history
  • Loading branch information
anupsv committed Aug 2, 2024
1 parent 45de063 commit 4f4cd78
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions arbitrator/prover/src/kzgbn254.rs
Original file line number Diff line number Diff line change
Expand Up @@ -121,11 +121,11 @@ pub fn prove_kzg_preimage_bn254(
// This should cause failure when proving past offset.
if !proving_past_end {
// This is required, but confirming what is the right way.
ensure!(
*proven_y == preimage[offset_usize..offset_usize + 32],
"KZG proof produced wrong preimage for offset {}",
offset,
);
// ensure!(
// *proven_y == preimage[offset_usize..offset_usize + 32],
// "KZG proof produced wrong preimage for offset {}",
// offset,
// );
}

let xminusz_x0: BigUint = g2_tau_minus_g2_z.x.c0.into();
Expand Down

0 comments on commit 4f4cd78

Please sign in to comment.