penumbra-zone / decaf377

decaf377 is a prime-order group designed for use in SNARKs over BLS12-377
https://protocol.penumbra.zone/main/crypto/decaf377.html
12 stars 12 forks source link

fix: field modulus #92

Closed TalDerei closed 5 months ago

TalDerei commented 5 months ago

It seems like our decaf377 Fr scalar field modulus was computed incorrectly when compared against the arkworks backend. This resolves our existing circuit failures. We should also check the validity of the other constants.