Commit Graph

2 Commits

Author SHA1 Message Date
moebius
e32e76d398 chore: integrate SDK into contracts tests (#47)
Co-authored-by: Lempire <61431140+lempire123@users.noreply.github.com>
2025-01-28 16:19:32 +00:00
moebius
56d5d48c21 fix: make ragequit use a zk proof (#41)
This PR fixes all frontrunning scenarios of ragequit by:
- using the existing `commitment` template
- requiring a `RagequitProof` when calling `ragequit`

This allows privately proving the knowledge of some `secret` and
`nullifier`, while still exposing the link between the ragequitter and
the commitment being ragequit.

---------

Co-authored-by: Lempire <61431140+lempire123@users.noreply.github.com>
2025-01-20 20:18:23 +00:00