Skip to content

Commit 98989f9

Browse files
committed
Finish fixing prev_challenges test
1 parent 70482a5 commit 98989f9

2 files changed

Lines changed: 2 additions & 6 deletions

File tree

operator/mina/lib/src/pickles_preproc/preprocess.rs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -317,7 +317,7 @@ mod tests {
317317
compute_prev_challenges(old_bulletproof_challenges, challenge_polynomial_commitments)
318318
.unwrap();
319319

320-
let mut ocaml_results = [
320+
let ocaml_results = [
321321
"A922DE10BD19D506BE5E5240287AFCD2F809D02FF05EDFA4AF352AEE2353DA29",
322322
"242A7448F2F61420595B4E9B15D7D14E1B804FDE3C12E3B0D22F980D4A60521D",
323323
"B412F4446AB1ABD794F3D9F07F37A70DA9EB34E70A61945F34A0F21B5D7D4007",
@@ -335,13 +335,12 @@ mod tests {
335335
"730FC9A8BF1DCCE3E36286BEB51EAB8F0B0092A8FEE6901FAF158D1E5DBFBE05",
336336
]
337337
.map(|hex| Fq::from_hex(hex).unwrap());
338-
ocaml_results.reverse();
339338

340339
assert_eq!(prev_challenges[0].chals, ocaml_results);
341340
assert_eq!(
342341
prev_challenges[0].comm,
343342
PolyComm {
344-
elems: vec![Pallas::new(Fp::from(1), Fp::from(2), false)]
343+
elems: vec![Pallas::new(Fp::from(-1), Fp::from(2), false)]
345344
}
346345
);
347346
}

operator/mina/lib/src/pickles_preproc/state_proof.rs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
use std::char;
2-
3-
use ark_ff::PrimeField;
41
use kimchi::{
52
mina_curves::pasta::{Fp, Fq, Pallas},
63
proof::PointEvaluations,

0 commit comments

Comments
 (0)