mirror of
https://github.com/status-im/c-kzg-4844.git
synced 2025-03-02 10:30:38 +00:00
* Expose computeKzgProof * Revert changes to bytes_to/from_bls_field * Update comments * Revert changes to bytes_from_bls_field * Revert change to parameter name * Add compute_kzg_proof to readme * Refactor in support of asn's PR * Clean up a little * Fix param name doc * Introduce Bytes32 type * Update bindings * Replaces bytes with b to match spec
Rust bindings
Generates the rust bindings for the c-kzg library.
Build
cargo build --release
Build with --features="minimal-spec"
to set the FIELD_ELEMENTS_PER_BLOB
compile time parameter to the pre-determined minimal spec value.
Test
cargo test --release
Benchmark
cargo bench