From 5b87474a1c4e2f0904f5c05bffdba12dc838c06f Mon Sep 17 00:00:00 2001 From: Skalman Date: Tue, 24 Sep 2024 12:38:45 -0400 Subject: [PATCH] Make ring tests compile and pass --- ring/src/ring.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ring/src/ring.rs b/ring/src/ring.rs index aed21fc..724dfc6 100644 --- a/ring/src/ring.rs +++ b/ring/src/ring.rs @@ -244,7 +244,7 @@ mod tests { use super::*; - type TestRing = Ring; + type TestRing = Ring; #[test] fn test_ring_mgmt() { @@ -298,7 +298,7 @@ mod tests { assert_eq!(ring, same_ring); } - fn get_monomial_commitment(pcs_params: &URS, piop_params: &PiopParams, keys: &[SWAffine]) -> (G1Affine, G1Affine) { + fn get_monomial_commitment(pcs_params: &URS, piop_params: &PiopParams, keys: &[SWAffine]) -> (G1Affine, G1Affine) { let (_, verifier_key) = crate::piop::index::<_, KZG::, _>(pcs_params, piop_params, keys); let [monimial_cx, monimial_cy] = verifier_key.fixed_columns_committed.points; (monimial_cx.0, monimial_cy.0)