From 5477c800e72caa5a4ab863001d0bcb61dc6404c0 Mon Sep 17 00:00:00 2001 From: rymnc <43716372+rymnc@users.noreply.github.com> Date: Sat, 6 Jul 2024 17:28:01 +0400 Subject: [PATCH] workshop: stage 2 --- sdk/src/bls12_381_on_g2_impl.rs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/sdk/src/bls12_381_on_g2_impl.rs b/sdk/src/bls12_381_on_g2_impl.rs index a51858e..19f7ead 100644 --- a/sdk/src/bls12_381_on_g2_impl.rs +++ b/sdk/src/bls12_381_on_g2_impl.rs @@ -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);