dusk-network / bulletproofs_gadgets

A container to test bulletproofs gadgets implementations
Apache License 2.0
5 stars 1 forks source link

Fix point commitment functions #15

Closed CPerezz closed 4 years ago

CPerezz commented 4 years ago

Actually, the functions prover_commit_to_sonypoint and verifier_commit_to_sonypoint cannot be used since (I think) they are producing different R1CS and Variables and so, they are causing VerificationError errs.

We should spot the concrete error, fix it and then implement tests as examples on how to build proofs with points committed as high-level variables to use them as secret inputs.