celo-org / celo-bls-snark-rs

Implements SNARK-friendly BLS signatures
https://celo.org
Apache License 2.0
83 stars 24 forks source link

Fine-grained unit tests for HashToGroup #191

Open mstraka100 opened 3 years ago

mstraka100 commented 3 years ago

Currently the HashToGroup gadget has one test for correct functionality. This can make pinpointing exactly where new bugs are when modifying the code difficult. New tests should be added for only the Pedersen hash, and only the Blake2 hash, to remedy this