Reduce generics

This commit is contained in:
Pratyush Mishra
2021-08-16 18:11:10 -07:00
parent b5c2d8eba3
commit ac58f8f92d
22 changed files with 83 additions and 115 deletions

View File

@@ -1,12 +1,10 @@
use crate::*;
use ark_r1cs_std::groups::curves::short_weierstrass::ProjectiveVar;
use crate::constraints::FBaseVar;
/// A group element in the Pallas prime-order group.
pub type GVar = ProjectiveVar<PallasParameters, FBaseVar>;
pub type GVar = ProjectiveVar<PallasParameters>;
#[test]
fn test() {
ark_curve_constraint_tests::curves::sw_test::<PallasParameters, GVar>().unwrap();
ark_curve_constraint_tests::curves::sw_test::<PallasParameters>().unwrap();
}