Update commented code to use todo!
This commit is contained in:
parent
02a88f0704
commit
5887c8fe92
@ -135,9 +135,7 @@ fn verify_data_availability<T: BeaconChainTypes>(
|
|||||||
.as_ref()
|
.as_ref()
|
||||||
.ok_or(BlobError::TrustedSetupNotInitialized)?;
|
.ok_or(BlobError::TrustedSetupNotInitialized)?;
|
||||||
|
|
||||||
// TODO: use `kzg_utils::validate_blobs` once the function is updated
|
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(
|
// if !kzg_utils::validate_blobs_sidecar(
|
||||||
// kzg,
|
// kzg,
|
||||||
// block_slot,
|
// block_slot,
|
||||||
@ -149,7 +147,7 @@ fn verify_data_availability<T: BeaconChainTypes>(
|
|||||||
// {
|
// {
|
||||||
// return Err(BlobError::InvalidKzgProof);
|
// return Err(BlobError::InvalidKzgProof);
|
||||||
// }
|
// }
|
||||||
Ok(())
|
// Ok(())
|
||||||
}
|
}
|
||||||
|
|
||||||
/// A wrapper over a [`SignedBeaconBlock`] or a [`SignedBeaconBlockAndBlobsSidecar`]. This makes no
|
/// A wrapper over a [`SignedBeaconBlock`] or a [`SignedBeaconBlockAndBlobsSidecar`]. This makes no
|
||||||
|
Loading…
Reference in New Issue
Block a user