We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
The library can't be used to add pairings result together. This can be helpful for off-chain testing
from py_ecc.bn128 import G1, G2, multiply, pairing, add p1 = pairing(G2, multiply(G1, 4)) p2 = pairing(multiply(G2, 4), G1) p3 = pairing(G2, multiply(G1, 8)) assert p1 == p2, "Fail 1" assert add(p1, p2) == p3, "Fail 2"
python3.9/site-packages/py_ecc/bn128/bn128_curve.py", line 87, in add x1, y1 = p1 TypeError: cannot unpack non-iterable bn128_FQ12 object
No response
6.0.0
3.9
linux
pip freeze
The text was updated successfully, but these errors were encountered:
No branches or pull requests
What happened?
The library can't be used to add pairings result together. This can be helpful for off-chain testing
Code that produced the error
Full error output
Fill this section in if you know how this could or should be fixed
No response
py-ecc Version
6.0.0
Python Version
3.9
Operating System
linux
Output from
pip freeze
No response
The text was updated successfully, but these errors were encountered: