Skip to content

Releases: ethereum/c-kzg-4844

v2.1.5

30 Sep 18:36
7043f4d
Compare
Choose a tag to compare

Overview

This is a minor release which contains an important bug fix. The computed challenge for verify_cell_kzg_proof_batch did not take into account all deduplicated commitments, resulting in a potential Weak Fiat-Shamir vulnerability. See #607 for more details.

What's Changed

Full Changelog: v2.1.4...v2.1.5

v2.1.4

18 Sep 16:08
a679ae5
Compare
Choose a tag to compare

Overview

Some Ethereum clients have (rightfully) expressed concerns with using an unreleased version of blst. To address these concerns, we reverted blst to its latest stable version and added back point-at-infinity filtering in c-kzg-4844.

What's Changed

Full Changelog: v2.1.3...v2.1.4

v2.1.3

16 Sep 19:53
936125d
Compare
Choose a tag to compare

Overview

This is a minor release that fixes a bug which could cause verify_cell_kzg_proof_batch results to be incorrect. In the previous release we simplified g1_lincomb_fast by removing point-at-infinity filtering because blst added this filtering. Unfortunately, there was a path in which the filtering did not happen. We have updated blst to the latest commit which includes a fix for this.

What's Changed

Full Changelog: v2.1.2...v2.1.3

v2.1.2

04 Sep 10:24
Compare
Choose a tag to compare

Overview

This is a minor release that fixes audit findings (ZKSecurity and internal), adds RecoverCells() to Go bindings, simplifies code, and improves test coverage.

What's Changed

New Contributors

Full Changelog: v2.1.1...v2.1.2

v2.1.1

31 Mar 20:52
28743bc
Compare
Choose a tag to compare

Overview

This is a minor release which includes various improvements to the bindings.

What's Changed

New Contributors

Full Changelog: v2.1.0...v2.1.1

v2.1.0

13 Mar 18:34
570d3fe
Compare
Choose a tag to compare

Overview

This is a minor release which adds a compute_cells method to all bindings.

What's Changed

New Contributors

Full Changelog: v2.0.1...v2.1.0

v2.0.1

03 Sep 13:27
1cf06e1
Compare
Choose a tag to compare

Overview

This is a minor release which fixes package publishing issues for some bindings.

What's Changed

Full Changelog: v2.0.0...v2.0.1

v2.0.0

20 Aug 11:25
252a6b2
Compare
Choose a tag to compare

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

v1.0.3

18 Jul 15:33
75d569b
Compare
Choose a tag to compare

Overview

This is a minor release which includes various improvements to the bindings and upgrades the blst library.

This is expected to be the last v1 release. We plan to make a v2 release with EIP-7594 support soon-ish.

What's Changed

  • feat(rust): Add ethereum kzg settings by @rakita in #443
  • Upgrade blst to v0.3.12 by @jtraglia in #445
  • fix: add crate description to Cargo.toml by @Rjected in #429
  • nim-bindings: Lift restriction of yaml test on Nim v2.x by @jangko in #431
  • nim-bindings: Fix GCC-14 [-Wincompatible-pointer-types] issue by @jangko in #430
  • use stand-alone results library by @arnetheduck in #432
  • [nim] Add completeStruct pragma which workarounds Nim compiler's issue with C codegen. by @cheatfate in #437
  • fix(rust): define NDEBUG when debug assertions are off by @DaniPopes in #450
  • Add EIP-7594 reference tests by @jtraglia in #453
  • Update versions in preparation for release 1.0.3 by @asn-d6 in #455

New Contributors

Full Changelog: v1.0.2...v1.0.3

v1.0.2

07 May 20:31
c389572
Compare
Choose a tag to compare

Overview

This is a minor release which includes various improvements to the bindings.

What's Changed

New Contributors

Full Changelog: v1.0.1...v1.0.2