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() .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