chore: disable non-compiling debug echo

reason: the ** operator no longer compiles
here with constantine 0.2.0

Co-Authored-By: Dmitriy Ryajov <dryajov@gmail.com>
This commit is contained in:
Mark Spanbroek 2025-06-26 16:19:18 +02:00
parent afc8d6174c
commit e6e865a62e

View File

@ -224,7 +224,8 @@ func pairing* (p: G1, q: G2) : Fp12 =
proc sanityCheckGroupGen*() =
echo( "gen1 on the curve = ", checkCurveEqG1(gen1.x,gen1.y) )
echo( "gen2 on the curve = ", checkCurveEqG2(gen2.x,gen2.y) )
echo( "order of gen1 is R = ", (not bool(isInf(gen1))) and bool(isInf(primeR ** gen1)) )
echo( "order of gen2 is R = ", (not bool(isInf(gen2))) and bool(isInf(primeR ** gen2)) )
# TODO: fix compilation error with Constantine 0.2.0:
# echo( "order of gen1 is R = ", (not bool(isNeutral(gen1))) and bool(isNeutral(primeR ** gen1)) )
# echo( "order of gen2 is R = ", (not bool(isNeutral(gen2))) and bool(isNeutral(primeR ** gen2)) )
#-------------------------------------------------------------------------------