arnaucube
arnaucube/ark-curves-cherry-pickedPublic Self-hosted repository
ark-curves-cherry-picked/bn254/src/constraints/curves.rs
bn254/src/constraints/curves.rsRaw
 1use ark_r1cs_std::groups::curves::short_weierstrass::ProjectiveVar;
 2
 3use crate::{constraints::FBaseVar, g1::Config};
 4
 5/// A group element in the Bn254 prime-order group.
 6pub type GVar = ProjectiveVar<Config, FBaseVar>;
 7
 8#[test]
 9fn test() {
10    ark_curve_constraint_tests::curves::sw_test::<Config, GVar>().unwrap();
11}