scipr-lab / dizk

Java library for distributed zero knowledge proof systems
Other
232 stars 66 forks source link

An error occurs when running mvn test in docker #21

Open wj404 opened 8 months ago

wj404 commented 8 months ago

Follow the steps of building, when executing mvn test java.lang.NullPointerException at algebra.curves.barreto_naehrig.BNG1.one(BNG1.java:117) at algebra.curves.barreto_naehrig.BNG1.random(BNG1.java:121) at algebra.curves.barreto_naehrig.BNG1.random(BNG1.java:17) at zk_proof_systems.zkSNARK.DistributedSetup.generate(DistributedSetup.java:82) There are 4 locations where this error occurs. Tests in error: DistributedBN254bProofSystemTest(zk_proof_systems.zkSNARK.DistributedzkSNARKTest) SerialBN254bProofSystemTest(zk_proof_systems.zkSNARK.SerialzkSNARKTest) BN254bTest(algebra.curves.BilinearityTest) BN254bTest(algebra.curves.CurvesTest)