r1cs-tutorial icon indicating copy to clipboard operation
r1cs-tutorial copied to clipboard

README for part #1 of the R1CS Tutorial is misguiding

Open fwmm opened this issue 2 years ago • 1 comments

Summary of Bug

The README for the merkle tree example in the R1CS tutorial incorrectly states that it will show how to invoke a SNARK when actually the example is only about generating the constraints and verifying satisfiability directly using the witness input itself. This is confusing for beginners trying to learn arkworks.

Version

commit 5d3a9022fb6deade245505748fd661278e9c0ff9

Steps to Reproduce

Compare the README to the example code.

fwmm avatar May 31 '23 02:05 fwmm

yes. The example is simply filling the merkle path to verify, it is not a construction of r1cs. The knowledge is exposed, not a zero knowledge proof.

neocarmack avatar Apr 24 '24 08:04 neocarmack