Skip to content

Commit

Permalink
chore(tests): Fix misnamed vars in excess_blob_gas test
Browse files Browse the repository at this point in the history
  • Loading branch information
pdobacz committed Dec 10, 2024
1 parent deae668 commit e1f4f5c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/cancun/eip4844_blobs/test_excess_blob_gas.py
Original file line number Diff line number Diff line change
Expand Up @@ -457,9 +457,9 @@ def all_invalid_blob_gas_used_combinations() -> Iterator[Tuple[int, int]]:
Returns all invalid blob gas used combinations.
"""
for new_blobs in range(0, SpecHelpers.max_blobs_per_block() + 1):
for header_blob_gas_used in range(0, SpecHelpers.max_blobs_per_block() + 1):
if new_blobs != header_blob_gas_used:
yield (new_blobs, header_blob_gas_used * Spec.GAS_PER_BLOB)
for header_blobs in range(0, SpecHelpers.max_blobs_per_block() + 1):
if new_blobs != header_blobs:
yield (new_blobs, header_blobs * Spec.GAS_PER_BLOB)
yield (new_blobs, 2**64 - 1)


Expand Down

0 comments on commit e1f4f5c

Please sign in to comment.