28 releases

new 0.152.0 Apr 15, 2025
0.151.4 Mar 21, 2025
0.150.19 Dec 20, 2024
0.150.16 Nov 21, 2024
0.150.2-rc.2 Jul 31, 2024

#567 in Magic Beans

Download history 1332/week @ 2024-12-27 3183/week @ 2025-01-03 4475/week @ 2025-01-10 4192/week @ 2025-01-17 2762/week @ 2025-01-24 2016/week @ 2025-01-31 4756/week @ 2025-02-07 3527/week @ 2025-02-14 2347/week @ 2025-02-21 5339/week @ 2025-02-28 4347/week @ 2025-03-07 5718/week @ 2025-03-14 4828/week @ 2025-03-21 3344/week @ 2025-03-28 3566/week @ 2025-04-04 5005/week @ 2025-04-11

18,046 downloads per month
Used in 12 crates (2 directly)

MIT/Apache

2MB
39K SLoC

Implementation based on https://github.com/ethereum/consensus-specs/blob/86fb82b221474cc89387fa6436806507b3849d88/specs/deneb/polynomial-commitments.md


Kzg crate

This crate contains functions related to kzg commitment that is used for 4844 blobs.

There are 3 methods that are used by era from this crate:

  • pubdata_to_blob_commitments - computes the blob commitments for given pub data
  • KzgInfo - holds all the methods for converting bytes into blobs
  • ZK_SYNC_BYTES_PER_BLOB - information on how much data is stored per blob.

Dependencies

~17MB
~311K SLoC