mirror of
https://github.com/arnaucube/ark-curves-cherry-picked.git
synced 2026-01-08 23:11:29 +01:00
Reduce generics
This commit is contained in:
@@ -1,12 +1,10 @@
|
||||
use crate::*;
|
||||
use ark_r1cs_std::groups::curves::twisted_edwards::AffineVar;
|
||||
|
||||
use crate::constraints::FqVar;
|
||||
|
||||
/// A variable that is the R1CS equivalent of `crate::EdwardsAffine`.
|
||||
pub type EdwardsVar = AffineVar<EdwardsParameters, FqVar>;
|
||||
pub type EdwardsVar = AffineVar<EdwardsParameters>;
|
||||
|
||||
#[test]
|
||||
fn test() {
|
||||
ark_curve_constraint_tests::curves::te_test::<_, EdwardsVar>().unwrap();
|
||||
ark_curve_constraint_tests::curves::te_test::<EdwardsParameters>().unwrap();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user