privacy-scaling-explorations / sonobe

Experimental folding schemes library
https://privacy-scaling-explorations.github.io/sonobe-docs/
MIT License
208 stars 55 forks source link

BN254 and Grumpkin Poseidon configurations #106

Closed ax0 closed 6 months ago

ax0 commented 6 months ago

This PR resolves #85 by including Poseidon configurations for the scalar fields of the BN254 and Grumpkin curves. The former configuration agrees with Circom's Poseidon(4) while the latter was generated using the reference implementation script. For all other fields, the configuration falls back to the test configuration used previously. Tests have been modified to use this curve cycle.