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

API: argument order (breaking external Nim/C/Go/Rust EIP-4844 API #394

Merged
merged 1 commit into from
Jun 13, 2024

Conversation

mratsim
Copy link
Owner

@mratsim mratsim commented Jun 12, 2024

This changes the threadpool to always be first argument. It is the most "global" of the context, because it's at library/app level and not just KZG or BLS signatures.

As powers-of-tau and polynomial domains are also contexts, they are moved in front and this impacts KZG and IPA modules.

Furthermore, document the API.

It is inspired by libsecp256k1:

This breaks Nim, C, Go, Rust API and should be done now before we cut the first ever Constantine release.
This impacts Grandine's branch: #331

@mratsim
Copy link
Owner Author

mratsim commented Jun 13, 2024

1 windows CI failed due to a bad mingw mirror
image

@mratsim mratsim merged commit b33479d into master Jun 13, 2024
11 of 12 checks passed
@mratsim mratsim deleted the api-function-argument-order branch June 13, 2024 09:13
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.

1 participant