Skip to content

Commit

Permalink
fix-tob-scroll-16 (scroll-tech#17)
Browse files Browse the repository at this point in the history
  • Loading branch information
zhenfeizhang authored Aug 9, 2023
1 parent 12c306e commit 1001277
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
1 change: 1 addition & 0 deletions snark-verifier/src/pcs/ipa/decider.rs
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ mod native {
dk: &Self::DecidingKey,
accumulators: Vec<IpaAccumulator<C, NativeLoader>>,
) -> bool {
assert!(!accumulators.is_empty());
!accumulators
.into_iter()
.any(|accumulator| !Self::decide(dk, accumulator))
Expand Down
7 changes: 1 addition & 6 deletions snark-verifier/src/pcs/kzg/decider.rs
Original file line number Diff line number Diff line change
Expand Up @@ -55,15 +55,10 @@ mod native {
dk: &Self::DecidingKey,
accumulators: Vec<KzgAccumulator<M::G1Affine, NativeLoader>>,
) -> bool {
assert!(!accumulators.is_empty());
!accumulators
.into_iter()
//.enumerate()
.any(|accumulator| {
/*let decide = Self::decide(dk, accumulator);
if !decide {
panic!("{i}");
}
!decide*/
!Self::decide(dk, accumulator)
})
}
Expand Down

0 comments on commit 1001277

Please sign in to comment.