Remove assert from is_data_available

This commit is contained in:
Mikhail Kalinin 2023-06-07 11:59:51 +06:00 committed by GitHub
parent 468b5be7b8
commit f5e00848d0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 2 deletions

View File

@ -42,8 +42,7 @@ def is_data_available(beacon_block_root: Root, blob_kzg_commitments: Sequence[KZ
if isinstance(blobs, str) or isinstance(proofs, str): if isinstance(blobs, str) or isinstance(proofs, str):
return True return True
assert verify_blob_kzg_proof_batch(blobs, blob_kzg_commitments, proofs) return verify_blob_kzg_proof_batch(blobs, blob_kzg_commitments, proofs)
return True
``` ```
## Updated fork-choice handlers ## Updated fork-choice handlers