Merge pull request #3404 from ethereum/mkalinin-patch-2

Remove assert from is_data_available
This commit is contained in:
Hsiao-Wei Wang 2023-06-07 17:04:39 +08:00 committed by GitHub
commit 54c2c1596f
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):
return True
assert verify_blob_kzg_proof_batch(blobs, blob_kzg_commitments, proofs)
return True
return verify_blob_kzg_proof_batch(blobs, blob_kzg_commitments, proofs)
```
## Updated fork-choice handlers