Comment out code that fails to compile
This commit is contained in:
parent
e4608d44ea
commit
62627d984c
@ -135,17 +135,20 @@ fn verify_data_availability<T: BeaconChainTypes>(
|
||||
.as_ref()
|
||||
.ok_or(BlobError::TrustedSetupNotInitialized)?;
|
||||
|
||||
if !kzg_utils::validate_blobs_sidecar(
|
||||
kzg,
|
||||
block_slot,
|
||||
block_root,
|
||||
kzg_commitments,
|
||||
blob_sidecar,
|
||||
)
|
||||
.map_err(BlobError::KzgError)?
|
||||
{
|
||||
return Err(BlobError::InvalidKzgProof);
|
||||
}
|
||||
// TODO: use `kzg_utils::validate_blobs` once the function is updated
|
||||
// I believe this is currently being worked on in another branch.
|
||||
//
|
||||
// if !kzg_utils::validate_blobs_sidecar(
|
||||
// kzg,
|
||||
// block_slot,
|
||||
// block_root,
|
||||
// kzg_commitments,
|
||||
// blob_sidecar,
|
||||
// )
|
||||
// .map_err(BlobError::KzgError)?
|
||||
// {
|
||||
// return Err(BlobError::InvalidKzgProof);
|
||||
// }
|
||||
Ok(())
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user