Skip to content

v2.0.0

Compare
Choose a tag to compare
@jtraglia jtraglia released this 20 Aug 11:25
· 28 commits to main since this release
252a6b2

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)

What's Changed

New Contributors

Full Changelog: v1.0.3...v2.0.0