diff --git a/src/bls12_377_impl.rs b/src/bls12_377_impl.rs index 3c365fd..5da840a 100644 --- a/src/bls12_377_impl.rs +++ b/src/bls12_377_impl.rs @@ -1,7 +1,7 @@ use crate::define_curve_tests; use crate::stealth_commitments::StealthAddressOnCurve; -use ark_bls12_377::g1::{G1_GENERATOR_X, G1_GENERATOR_Y}; -use ark_bls12_377::{Fq, Fr, G1Affine, G1Projective}; + +use ark_bls12_377::{Fr, G1Projective}; impl StealthAddressOnCurve for ark_bls12_377::Bls12_377 { type Projective = G1Projective; diff --git a/src/bls12_381_impl.rs b/src/bls12_381_impl.rs index e92e355..986d4f9 100644 --- a/src/bls12_381_impl.rs +++ b/src/bls12_381_impl.rs @@ -1,7 +1,7 @@ use crate::define_curve_tests; use crate::stealth_commitments::StealthAddressOnCurve; -use ark_bls12_381::g1::{G1_GENERATOR_X, G1_GENERATOR_Y}; -use ark_bls12_381::{Fq, Fr, G1Affine, G1Projective}; + +use ark_bls12_381::{Fr, G1Projective}; impl StealthAddressOnCurve for ark_bls12_381::Bls12_381 { type Projective = G1Projective; diff --git a/src/bn254_impl.rs b/src/bn254_impl.rs index a1a5d74..083dee2 100644 --- a/src/bn254_impl.rs +++ b/src/bn254_impl.rs @@ -1,7 +1,7 @@ use crate::define_curve_tests; use crate::stealth_commitments::StealthAddressOnCurve; -use ark_bn254::g1::{G1_GENERATOR_X, G1_GENERATOR_Y}; -use ark_bn254::{Fq, Fr, G1Affine, G1Projective}; + +use ark_bn254::{Fr, G1Projective}; use rln::hashers::{hash_to_field, poseidon_hash}; impl StealthAddressOnCurve for ark_bn254::Bn254 { diff --git a/src/pallas_impl.rs b/src/pallas_impl.rs index c422989..b552193 100644 --- a/src/pallas_impl.rs +++ b/src/pallas_impl.rs @@ -1,6 +1,6 @@ use crate::define_curve_tests; use crate::stealth_commitments::StealthAddressOnCurve; -use ark_pallas::{Affine, Fq, Fr, Projective, G_GENERATOR_X, G_GENERATOR_Y}; +use ark_pallas::{Fr, Projective}; pub struct Pallas; diff --git a/src/secp256r1_impl.rs b/src/secp256r1_impl.rs index 19d2c19..1966bee 100644 --- a/src/secp256r1_impl.rs +++ b/src/secp256r1_impl.rs @@ -1,6 +1,6 @@ use crate::define_curve_tests; use crate::stealth_commitments::StealthAddressOnCurve; -use ark_secp256r1::{Affine, Fq, Fr, Projective}; +use ark_secp256r1::{Fr, Projective}; pub struct Secp256r1; diff --git a/src/vesta_impl.rs b/src/vesta_impl.rs index e884cba..e51709d 100644 --- a/src/vesta_impl.rs +++ b/src/vesta_impl.rs @@ -1,6 +1,6 @@ use crate::define_curve_tests; use crate::stealth_commitments::StealthAddressOnCurve; -use ark_vesta::{Affine, Fq, Fr, Projective, G_GENERATOR_X, G_GENERATOR_Y}; +use ark_vesta::{Fr, Projective}; pub struct Vesta;