Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

alt_bn128_pairing_product's return type is incorrectly documented #157

Open
anton-trunov opened this issue Feb 9, 2022 · 0 comments
Open
Milestone

Comments

@anton-trunov
Copy link
Contributor

The function applies a pairing function on each point to check for equality and returns True or False depending on whether the pairing check succeeds or fails.

This implies alt_bn128_pairing_product's result type is Bool, however it actually is Option Bool. The builtin returns None if the inputs are invalid (can this actually happen in a well-typed program?).

@anton-trunov anton-trunov added this to the Scilla 0.12.0 milestone Aug 19, 2022
@jjcnn jjcnn modified the milestones: Scilla 0.12.0, Scilla 0.14.0 Dec 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants