Add more kzg validations

This commit is contained in:
Pawan Dhananjay
2022-11-28 20:23:15 +05:30
parent 9640d420f7
commit cb78f2f8df
6 changed files with 94 additions and 25 deletions

View File

@@ -2,6 +2,7 @@ mod kzg_commitment;
mod kzg_proof;
pub use crate::{kzg_commitment::KzgCommitment, kzg_proof::KzgProof};
pub use c_kzg::bytes_to_g1;
use c_kzg::{Error as CKzgError, KZGSettings, BYTES_PER_FIELD_ELEMENT, FIELD_ELEMENTS_PER_BLOB};
use std::path::PathBuf;