@@ -948,13 +948,10 @@ mod tests {
948948 use core:: fmt:: Write ;
949949
950950 use super :: * ;
951- #[ allow( dead_code) ]
952- type ZM < E > = provider:: non_hiding_zeromorph:: ZMEvaluation < E > ;
951+ type ZM < E > = provider:: non_hiding_zeromorph:: ZMPCS < E > ;
953952 type EE < G > = provider:: ipa_pc:: EvaluationEngine < G > ;
954953 type S < G , EE > = spartan:: snark:: RelaxedR1CSSNARK < G , EE > ;
955954 type SPrime < G , EE > = spartan:: ppsnark:: RelaxedR1CSSNARK < G , EE > ;
956- #[ allow( dead_code) ]
957- type SZM < G1 , E > = spartan:: snark:: RelaxedR1CSSNARK < G1 , ZM < E > > ;
958955
959956 use :: bellpepper_core:: { num:: AllocatedNum , ConstraintSystem , SynthesisError } ;
960957 use core:: marker:: PhantomData ;
@@ -1068,12 +1065,12 @@ mod tests {
10681065 let trivial_circuit2_grumpkin = TrivialCircuit :: < <grumpkin:: Point as Group >:: Scalar > :: default ( ) ;
10691066 let cubic_circuit1_grumpkin = CubicCircuit :: < <bn256:: Point as Group >:: Scalar > :: default ( ) ;
10701067
1071- test_pp_digest_with :: < bn256:: Point , grumpkin:: Point , _ , _ , EE < _ > , EE < _ > > (
1068+ test_pp_digest_with :: < bn256:: Point , grumpkin:: Point , _ , _ , ZM < halo2curves :: bn256 :: Bn256 > , EE < _ > > (
10721069 & trivial_circuit1_grumpkin,
10731070 & trivial_circuit2_grumpkin,
10741071 "184d05f08dca260f010cb48c6cf8c5eb61dedfc270e5a18226eb622cf7da0203" ,
10751072 ) ;
1076- test_pp_digest_with :: < bn256:: Point , grumpkin:: Point , _ , _ , EE < _ > , EE < _ > > (
1073+ test_pp_digest_with :: < bn256:: Point , grumpkin:: Point , _ , _ , ZM < halo2curves :: bn256 :: Bn256 > , EE < _ > > (
10771074 & cubic_circuit1_grumpkin,
10781075 & trivial_circuit2_grumpkin,
10791076 "2fb992932b2a642b4ce8f52646a7ef6a5a486682716cf969df50021107afff03" ,
@@ -1306,8 +1303,7 @@ mod tests {
13061303 let ( pk, vk) = CompressedSNARK :: < _ , _ , _ , _ , S1 , S2 > :: setup ( & pp) . unwrap ( ) ;
13071304
13081305 // produce a compressed SNARK
1309- let res =
1310- CompressedSNARK :: < _ , _ , _ , _ , S1 , S2 > :: prove ( & pp, & pk, & recursive_snark) ;
1306+ let res = CompressedSNARK :: < _ , _ , _ , _ , S1 , S2 > :: prove ( & pp, & pk, & recursive_snark) ;
13111307 assert ! ( res. is_ok( ) ) ;
13121308 let compressed_snark = res. unwrap ( ) ;
13131309
@@ -1330,7 +1326,7 @@ mod tests {
13301326 test_ivc_nontrivial_with_compression_with :: <
13311327 bn256:: Point ,
13321328 grumpkin:: Point ,
1333- S < bn256:: Point , EE < _ > > , // SZM<bn256::Point, halo2curves::bn256::Bn256>,
1329+ S < bn256:: Point , ZM < halo2curves:: bn256:: Bn256 > > ,
13341330 S < grumpkin:: Point , EE < _ > > ,
13351331 > ( ) ;
13361332 test_ivc_nontrivial_with_compression_with :: <
@@ -1341,17 +1337,6 @@ mod tests {
13411337 > ( ) ;
13421338 }
13431339
1344- #[ test]
1345- #[ ignore]
1346- fn test_ivc_nontrivial_with_zm_compression ( ) {
1347- test_ivc_nontrivial_with_compression_with :: <
1348- bn256:: Point ,
1349- grumpkin:: Point ,
1350- S < bn256:: Point , EE < _ > > , // SZM<bn256::Point, halo2curves::bn256::Bn256>,
1351- S < grumpkin:: Point , EE < _ > > ,
1352- > ( ) ;
1353- }
1354-
13551340 fn test_ivc_nontrivial_with_spark_compression_with < G1 , G2 , E1 , E2 > ( )
13561341 where
13571342 G1 : Group < Base = <G2 as Group >:: Scalar > ,
@@ -1456,8 +1441,12 @@ mod tests {
14561441 type G2 = pasta_curves:: vesta:: Point ;
14571442
14581443 test_ivc_nontrivial_with_spark_compression_with :: < G1 , G2 , EE < _ > , EE < _ > > ( ) ;
1459- test_ivc_nontrivial_with_spark_compression_with :: < bn256:: Point , grumpkin:: Point , EE < _ > , EE < _ > > (
1460- ) ;
1444+ test_ivc_nontrivial_with_spark_compression_with :: <
1445+ bn256:: Point ,
1446+ grumpkin:: Point ,
1447+ ZM < halo2curves:: bn256:: Bn256 > ,
1448+ EE < _ > ,
1449+ > ( ) ;
14611450 test_ivc_nontrivial_with_spark_compression_with :: <
14621451 secp256k1:: Point ,
14631452 secq256k1:: Point ,
@@ -1610,7 +1599,12 @@ mod tests {
16101599 type G2 = pasta_curves:: vesta:: Point ;
16111600
16121601 test_ivc_nondet_with_compression_with :: < G1 , G2 , EE < _ > , EE < _ > > ( ) ;
1613- test_ivc_nondet_with_compression_with :: < bn256:: Point , grumpkin:: Point , EE < _ > , EE < _ > > ( ) ;
1602+ test_ivc_nondet_with_compression_with :: <
1603+ bn256:: Point ,
1604+ grumpkin:: Point ,
1605+ ZM < halo2curves:: bn256:: Bn256 > ,
1606+ EE < _ > ,
1607+ > ( ) ;
16141608 test_ivc_nondet_with_compression_with :: < secp256k1:: Point , secq256k1:: Point , EE < _ > , EE < _ > > ( ) ;
16151609 }
16161610
0 commit comments