Skip to content
This repository has been archived by the owner on Nov 23, 2023. It is now read-only.

Commit

Permalink
add ctx.next()
Browse files Browse the repository at this point in the history
  • Loading branch information
lazovicff committed Sep 21, 2023
1 parent 6751bfd commit 6b9bd31
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions eigentrust-zk/src/circuits/threshold/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -423,6 +423,7 @@ impl<
let halo2_limb =
ctx.copy_assign(config.common.advice[1], halo2_agg_limbs[i].clone())?;
ctx.constrain_equal(native_limb, halo2_limb)?;
ctx.next();
}

Ok(())
Expand Down Expand Up @@ -876,7 +877,7 @@ mod tests {
(num_decomposed, den_decomposed)
}

#[ignore = "threshold circuit test takes too long to run"]
// #[ignore = "threshold circuit test takes too long to run"]
#[test]
fn test_threshold_circuit() {
// Test Threshold Circuit
Expand Down Expand Up @@ -974,16 +975,10 @@ mod tests {
Err(e) => panic!("{}", e),
};

let errs = prover.verify().err().unwrap();

for err in errs {
println!("{:?}", err);
}

assert_eq!(prover.verify(), Ok(()));
}

// #[ignore = "threshold circuit test takes too long to run"]
#[ignore = "threshold circuit test takes too long to run"]
#[test]
fn test_threshold_circuit_prod() {
// Test Threshold Circuit production
Expand Down

0 comments on commit 6b9bd31

Please sign in to comment.