-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Proof verification is true for IDCommitment not in merkle tree? #57
Comments
If the proof was correctly generated for that If you look at the circuit, the Lines 327 to 332 in a5aa4e8
Note that if you generate Ideally, for a user that wants to publish a message should suffice to send: The reason for such two ( Hope this clarifies and I hope I'm not overseeing a bug! |
Thank you for this detailed information! It indeed clarifies why I was seeing the behavior I described with |
Is it possible that verify (https://github.com/vacp2p/zerokit/blob/master/rln/src/public.rs#L211-L228) returns Ok(true) due to a difference in architecture (32bits vs 64bits) ?
I'm confused, because I see it returning true for an IDCommitment that does not belong to the merkle tree
In rln-wasm I commented this line: https://github.com/vacp2p/zerokit/blob/master/rln-wasm/src/lib.rs#L167
and then executed
cargo make test
The text was updated successfully, but these errors were encountered: