Skip to content

Commit 41495b6

Browse files
committed
fix(tests): EIP-7685: More tests
1 parent 5c19a66 commit 41495b6

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

tests/prague/eip7685_general_purpose_el_requests/test_deposits_withdrawals_consolidations.py

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -450,6 +450,24 @@ def invalid_requests_block_combinations(fork: Fork) -> List[Any]:
450450
),
451451
)
452452

453+
# - Extra invalid request tests
454+
combinations.append(
455+
pytest.param(
456+
correct_order_transactions,
457+
correct_order + [b""],
458+
BlockException.INVALID_REQUESTS,
459+
id="extra_empty_request",
460+
),
461+
)
462+
combinations.append(
463+
pytest.param(
464+
correct_order_transactions,
465+
correct_order + [bytes([fork.max_request_type() + 1])],
466+
BlockException.INVALID_REQUESTS,
467+
id="extra_invalid_type_request",
468+
),
469+
)
470+
453471
return combinations
454472

455473

0 commit comments

Comments
 (0)