Justin Traglia 8907fbcfe2
Expose compute_kzg_proof (#80)
* 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
2023-01-24 18:23:42 +00:00
..
2023-01-16 20:05:23 +00:00
2023-01-24 18:23:42 +00:00
2023-01-12 17:50:12 +00:00
2023-01-12 17:50:12 +00:00
2023-01-12 17:50:12 +00:00
2023-01-12 17:50:12 +00:00
2023-01-12 17:50:12 +00:00
2023-01-12 17:50:12 +00:00

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