Skip to content

Commit

Permalink
chore(prague): remove 0 blobs check for 7742.
Browse files Browse the repository at this point in the history
  • Loading branch information
spencer-tb committed Dec 4, 2024
1 parent 0a272d9 commit 05f7390
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/ethereum/prague/fork.py
Original file line number Diff line number Diff line change
Expand Up @@ -430,8 +430,6 @@ def check_transaction(
max_gas_fee = tx.gas * tx.gas_price

if isinstance(tx, BlobTransaction):
if len(tx.blob_versioned_hashes) == 0:
raise InvalidBlock
for blob_versioned_hash in tx.blob_versioned_hashes:
if blob_versioned_hash[0:1] != VERSIONED_HASH_VERSION_KZG:
raise InvalidBlock
Expand Down

0 comments on commit 05f7390

Please sign in to comment.