Inversed-Tech / eyelid

Private iris matching
Apache License 2.0
0 stars 0 forks source link

Make the const generic degree into a generic trait struct #75

Closed teor2345 closed 2 months ago

teor2345 commented 2 months ago

This PR depends on #65.

It is an extremely large change, so it would help to get it merged within a day or two. Otherwise it will conflict with other PRs. It is not easy to re-do, due to the number of manual fixes required.

This PR replaces the MAX_POLY_DEGREE const generic with a PolyConf trait containing a MAX_POLY_DEGREE constant.

It also makes a bunch of associated fixes and replacements:

The mass replaces follow these instructions: https://github.com/ZcashFoundation/zebra/blob/main/book/src/dev/mass-renames.md#universal-renames-with-sed

This is part of #59, but I'm going to replace Coeff in another PR.

teor2345 commented 2 months ago

Rebased to resolve merge conflicts, now I'm going to merge with Eduardo's previous approval.