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

Add support for multiple rust-kzg backends #74

Open
sauliusgrigaitis opened this issue Dec 30, 2024 · 0 comments
Open

Add support for multiple rust-kzg backends #74

sauliusgrigaitis opened this issue Dec 30, 2024 · 0 comments

Comments

@sauliusgrigaitis
Copy link
Member

rust-kzg supports multiple ECC backends, however, the current approach is by manually switching backends in Cargo.toml file. Obviously, it's not convenient. We should have an option to specify at compile time which ECC backends we want to compile in and then allow select one at runtime (via command line flag). Similarly, like #61 for BLS signatures.

It's likely that the best place to do it is https://github.com/grandinetech/rust-kzg/tree/main/kzg . In such case kzg crate needs to refactored in order to get rid of blst dependency. If we must use some particular ECC backend type (blst currently) then we need to use a highly portable ECC backend (pure Rust). Otherwise, if kzg crate is not a good place for multibackend support then we should do it in a wrapper in Grandine.

@ArtiomTr

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

1 participant