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

core/vm, crypto/bn256: fix bn256 use and pairing corner case #14993

Merged
merged 1 commit into from
Aug 17, 2017

Conversation

karalabe
Copy link
Member

No description provided.

@karalabe karalabe requested a review from holiman August 17, 2017 13:48
@karalabe karalabe added this to the 1.7.0 milestone Aug 17, 2017
new_e := miller(b[i].p, a[i].p, pool)
e.Mul(e, new_e, pool)
if a[i].p.IsInfinity() || b[i].p.IsInfinity() {
continue
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we have a consensus-test which goes through this code path ?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, 3 tests fail without this fix.

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

Successfully merging this pull request may close these issues.

2 participants