Skip to content

Commit 79e6607

Browse files
committed
tests: fix tox.
1 parent dd3569e commit 79e6607

File tree

1 file changed

+3
-10
lines changed

1 file changed

+3
-10
lines changed

tests/prague/eip7742_uncouple_blob_count/test_uncoupled_blobs_multi_block.py

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -62,9 +62,7 @@ def multiple_blocks_with_blobs(
6262
blob_gas_used = total_blob_count * Spec.GAS_PER_BLOB
6363
excess_blob_gas = max(
6464
0,
65-
parent_excess_blob_gas
66-
+ blob_gas_used
67-
- Spec.CANCUN_TARGET_BLOB_GAS_PER_BLOCK,
65+
parent_excess_blob_gas + blob_gas_used - Spec.CANCUN_TARGET_BLOB_GAS_PER_BLOCK,
6866
)
6967
blob_gasprice = Spec.get_blob_gasprice(excess_blob_gas=excess_blob_gas)
7068
for tx_index in range(tx_count):
@@ -73,10 +71,7 @@ def multiple_blocks_with_blobs(
7371
nonce += 1
7472
tx_blob_count = base_blobs_per_tx + (1 if tx_index < remaining_blobs else 0)
7573
blob_hashes = add_kzg_version(
76-
[
77-
Hash(block_index * 10000 + tx_index * 100 + i)
78-
for i in range(tx_blob_count)
79-
],
74+
[Hash(block_index * 10000 + tx_index * 100 + i) for i in range(tx_blob_count)],
8075
Spec.BLOB_COMMITMENT_VERSION_KZG,
8176
)
8277
tx.blob_versioned_hashes = [Hash(b_hash) for b_hash in blob_hashes]
@@ -197,8 +192,6 @@ def test_multi_blocks_incremental_decremental(
197192
blockchain_test(
198193
pre=pre,
199194
post={},
200-
blocks=multiple_blocks_with_blobs(
201-
txs, blob_counts_per_block, tx_counts_per_block
202-
),
195+
blocks=multiple_blocks_with_blobs(txs, blob_counts_per_block, tx_counts_per_block),
203196
genesis_environment=env,
204197
)

0 commit comments

Comments
 (0)