Verify BLS multi-signature #1263
Unanswered
avivyossef29
asked this question in
Q&A
Replies: 1 comment 3 replies
-
When defining the circuits, one has to define all of the computations using the We have written a set of gadgets which provide already defined sub-circuits one can use in their circuit. As an example on how to perform a pairing check and to compute the corresponding witness, see the Pairing on BN254 example. This example can then be modified to for using with BLS12-377 curve. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I'm trying to build a circuit that, given BLS public keys and a message hash, verifies an aggregated signature. However, when I compile the circuit, it seems like I'm getting a trivial circuit with 0 constraints.
Do you have any suggestions on what might be going wrong?
aviv@LT-avivy ~/workspace/gnark_signatures $go run main.go 17:28:05 INF gnark profiling enabled path=gnark.pprof 2024/08/31 17:28:05 Compiling the circuit... 17:28:05 INF compiling circuit 17:28:05 INF parsed circuit inputs nbPublic=0 nbSecret=0 2024/08/31 17:28:05 Result: 1 17:28:05 INF building constraint builder nbConstraints=0 2024/08/31 17:28:05 Circuit compiled successfully! 17:28:05 INF gnark profiling disabled path=gnark.pprof 0 Showing nodes accounting for 0, 0% of 0 total ----------------------------------------------------------+------------- flat flat% sum% cum cum% calls calls% + context
Beta Was this translation helpful? Give feedback.
All reactions