Skip to content

Commit

Permalink
Make ring tests compile and pass
Browse files Browse the repository at this point in the history
  • Loading branch information
drskalman committed Sep 24, 2024
1 parent b94a510 commit 5b87474
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ring/src/ring.rs
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ mod tests {

use super::*;

type TestRing = Ring<Fr, Bls12_381, BandersnatchConfig>;
type TestRing = Ring<Fr, Bls12_381, SWAffine>;

#[test]
fn test_ring_mgmt() {
Expand Down Expand Up @@ -298,7 +298,7 @@ mod tests {
assert_eq!(ring, same_ring);
}

fn get_monomial_commitment(pcs_params: &URS<Bls12_381>, piop_params: &PiopParams<Fr, BandersnatchConfig>, keys: &[SWAffine]) -> (G1Affine, G1Affine) {
fn get_monomial_commitment(pcs_params: &URS<Bls12_381>, piop_params: &PiopParams<Fr, SWAffine>, keys: &[SWAffine]) -> (G1Affine, G1Affine) {
let (_, verifier_key) = crate::piop::index::<_, KZG::<Bls12_381>, _>(pcs_params, piop_params, keys);
let [monimial_cx, monimial_cy] = verifier_key.fixed_columns_committed.points;
(monimial_cx.0, monimial_cy.0)
Expand Down

0 comments on commit 5b87474

Please sign in to comment.