-
Notifications
You must be signed in to change notification settings - Fork 63
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(ecpair): ensure last non-trivial input pair goes to ML+finalexp c…
…ircuit (#524) * fix: set inputresult only once * fix: copy only actual inputs going to pairing (no trivial pairs) * fix: non-exclusive G2 membership or pairing check * fix: enable index consistency check when interleaved G2 membership We may interleave in the same rows the G2 membership and pairing check inputs. Currently when we have interleaved then we disable the index consisitency check. * fix: do not project pair IDs and total pairings * fix: add constraint to check totalpairs correctness * test: add IS_RESULT column to test cases and uniform reformat * feat: allow outputting CSV in hex * feat: add utility method to write the module * test: check also IS_RESULT in test cases * test: add test case modules * test: add regression test case * feat: add testdata generator for ecpair * feat: add tests for manual generation of EC edge cases * fix: accumulator consistency assignment in case of one valid point * docs: describe assignment * fix: indexing when non-sequential valid points * test: run tests on generated data * feat: generate all cases for 1-5 input pairs * test: skip long tests * fix: test imports * enable ecpair * perf: parallelize testcase testing --------- Co-authored-by: gusiri <[email protected]>
- Loading branch information
Showing
17 changed files
with
2,805 additions
and
810 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.