-
Notifications
You must be signed in to change notification settings - Fork 230
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
[Feature] Use kzg-rs
for KZG point evaluation
#1017
Comments
not opposed to making the kzg backend configurable, but configuration must be very simple and should not leak across many crates. we need to ensure that this doesn't cause any big issues if both features are enabled, c-kzg and rs-kzg, not sure yet what the best solution here is: mutually exclusive features, what takes precedence if both enabled? compiler error? |
Thanks for your comment @mattsse As you seen in the draft PR, I used Also, for our use case where we want to avoid c-kzg to be loaded in a SP1 zkVM context, we'll need the kzg-rs feature added to Is this possible? |
if we can have a consistent API, then I think it would be |
In the centos 7.9 environment, cargo build --release failed. I don't know how to deal with it.
|
@blackcats1999 please report upstream in https://github.com/ethereum/c-kzg-4844 |
Component
consensus, eips, genesis
Describe the feature you would like
Currently, alloy uses c-kzg for KZG point evaluation. It would be useful to have a [no_std] endpoint for this, which kzg-rs can be used for.
For instance, it would allow to use alloy
consensus
andeips
in a SP1 zkVM context.I'm starting to work on a PR.
Additional context
No response
The text was updated successfully, but these errors were encountered: