Update commented code to use todo!

This commit is contained in:
Jimmy Chen 2023-03-15 15:29:16 +11:00
parent 02a88f0704
commit 5887c8fe92
No known key found for this signature in database
GPG Key ID: 7AAEE02659DCF690

View File

@ -135,9 +135,7 @@ fn verify_data_availability<T: BeaconChainTypes>(
.as_ref()
.ok_or(BlobError::TrustedSetupNotInitialized)?;
// TODO: use `kzg_utils::validate_blobs` once the function is updated
// I believe this is currently being worked on in another branch.
//
todo!("use `kzg_utils::validate_blobs` once the function is updated")
// if !kzg_utils::validate_blobs_sidecar(
// kzg,
// block_slot,
@ -149,7 +147,7 @@ fn verify_data_availability<T: BeaconChainTypes>(
// {
// return Err(BlobError::InvalidKzgProof);
// }
Ok(())
// Ok(())
}
/// A wrapper over a [`SignedBeaconBlock`] or a [`SignedBeaconBlockAndBlobsSidecar`]. This makes no