vacp2p / rln-contract

RLN contract
Apache License 2.0
13 stars 6 forks source link

refactor(poseidon): use correct constants in Poseidon #9

Closed s1fr0 closed 1 year ago

s1fr0 commented 1 year ago

Addresses https://github.com/vacp2p/rln-contract/issues/4 by implementing Poseidon with parameters t=2, RF=8, RP=56 required to withdraw a membership fee registration, i.e. hash inputs of length 1 (single word).

Round constants and parameters reflect the Poseidon implementation of zerokit.