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

Bump csources to 2.0.0 #31

Merged
merged 2 commits into from
Aug 30, 2024
Merged

Bump csources to 2.0.0 #31

merged 2 commits into from
Aug 30, 2024

Conversation

agnxsh
Copy link
Contributor

@agnxsh agnxsh commented Aug 29, 2024

This is a major release which adds support for EIP-7594 (PeerDAS).

Notable changes:

  • The codebase implements and exposes all public methods of the EIP-7594 cryptography specification.
  • The trusted setup format has been updated to include G1 points in monomial form.
    • This version of c-kzg-4844 requires the new trusted setup file.
    • The new trusted setup file can be used with previous versions of c-kzg-4844.
    • Download the new file from trusted_setup.txt in this repository.
    • This should match trusted_setup_4096.json in the specifications.
  • A new precompute parameter has been added to functions which load the trusted setup.
    • This configuration option is used to optimize FK20 proof computations.
    • Higher values will compute FK20 proofs faster but use more memory.
    • Compared to precompute=0, precompute=8 is ~75% faster but uses 96 MiB of memory.
  • In the Nim bindings, the "zero overhead aliases" have been removed.
    • There is only a single set of API functions exposed now.
  • In the Rust bindings, the API functions have been moved to the KzgSettings structure.
    • For example, here is the before and after for blob_to_kzg_commitment:
      • KZGCommitment::blob_to_kzg_commitment(&blob, &kzg_settings)
      • kzg_settings.blob_to_kzg_commitment(&blob)

@tersec tersec merged commit 76ffb3b into master Aug 30, 2024
15 checks passed
@tersec tersec deleted the ckzg2 branch August 30, 2024 10:27
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