In an attempt to merge the "prepared G2 test", we found a weird error.
After debugging, we found that the constant tobytes of Fp is in the wrong direction, causing it to have a different result compared with witness/input.
Before we can merge this PR, please make sure that all the following items have been
checked off. If any of the checklist items are not applicable, please leave them but
write a little note why.
[x] Targeted PR against correct branch (master)
[x] Linked to Github issue with discussion and accepted design OR have an explanation in the PR that describes this work.
[x] Re-reviewed Files changed in the Github PR explorer
N/A:
[ ] Wrote unit tests
[ ] Updated relevant documentation in the code
[ ] Added a relevant changelog entry to the Pending section in CHANGELOG.md
Description
In an attempt to merge the "prepared G2 test", we found a weird error.
After debugging, we found that the constant tobytes of Fp is in the wrong direction, causing it to have a different result compared with witness/input.
Before we can merge this PR, please make sure that all the following items have been checked off. If any of the checklist items are not applicable, please leave them but write a little note why.
Files changed
in the Github PR explorerN/A:
Pending
section inCHANGELOG.md