Skip to content

Commit 0c65695

Browse files
chore(test-benchmark): skip rlp size limit check (#2118)
1 parent 2e0c8c6 commit 0c65695

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

tests/benchmark/compute/scenario/test_transaction_types.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -322,6 +322,13 @@ def test_block_full_access_list_and_data(
322322
Test a block with access lists (60% gas) and calldata (40% gas) using
323323
random mixed bytes.
324324
"""
325+
# Skip if EIP-7934 block RLP size limit would be exceeded
326+
block_rlp_limit = fork.block_rlp_size_limit()
327+
if block_rlp_limit:
328+
pytest.skip(
329+
"Test skipped: EIP-7934 block RLP size limit might be exceeded"
330+
)
331+
325332
iteration_count = math.ceil(gas_benchmark_value / tx_gas_limit)
326333

327334
gas_remaining = gas_benchmark_value

0 commit comments

Comments
 (0)