-
Notifications
You must be signed in to change notification settings - Fork 27
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
Spike: research and recommend altbn128 host function support solution #780
Comments
Decisions made around this solution and the related follow-on work to implement altbn128 will close/replace #362 |
The Go library is https://github.com/cloudflare/bn256 and Rust library is https://github.com/paritytech/bn. |
Here are benchmarking results. OS: Ubuntu 20.04 Summary:
Details:
|
The following benchmarking all used the same 10 pairs of points as input and run through the same initialization and pairing. Go implementation was the winner. FC alt_bn_128
Go
Pairing via contractI run |
We need to evaluate the best path forward to support altbn128 host functions via either Rust or Go.
Benchmarking for both solutions should be part of this investigation.
The text was updated successfully, but these errors were encountered: