workshop: stage 2

This commit is contained in:
rymnc
2024-07-06 17:28:01 +04:00
parent b5bf834f82
commit 5477c800e7

View File

@@ -1,4 +1,4 @@
use crate::stealth_addresses::StealthAddressOnCurve;
use crate::{define_curve_tests, stealth_addresses::StealthAddressOnCurve};
/// Implementation of the StealthAddressOnCurve trait for the Bls12_381 curve (G2).
use ark_bls12_381::G2Projective;
@@ -7,3 +7,6 @@ struct Bls12_381_G2;
impl StealthAddressOnCurve for Bls12_381_G2 {
type Projective = G2Projective;
}
// define the tests for the curve
define_curve_tests!(Bls12_381_G2);