diff --git a/kimchi/src/precomputed_srs.rs b/kimchi/src/precomputed_srs.rs index 6398c0641f..0eacf4a3b1 100644 --- a/kimchi/src/precomputed_srs.rs +++ b/kimchi/src/precomputed_srs.rs @@ -92,15 +92,14 @@ mod tests { #[test] pub fn test_serialization_compat() { - use ark_ec::AffineCurve; - //use mina_curves::pasta::PallasParameters; + use ark_ec::short_weierstrass::SWCurveConfig; + use mina_curves::pasta::PallasParameters; let base_path = std::env::var("CARGO_MANIFEST_DIR").expect("failed to get manifest path"); let path = PathBuf::from(base_path).join("../srs/testelement.srs"); - //PallasParameters::GENERATOR, let elem_orig = TestStruct { - inner: Pallas::prime_subgroup_generator(), + inner: PallasParameters::GENERATOR, }; if std::env::var("SRS_OVERWRITE").is_ok() {