Skip to content

Commit

Permalink
fix(tests): EIP-6110,7002,7251: disable invalid tests on execute
Browse files Browse the repository at this point in the history
  • Loading branch information
marioevz committed Sep 12, 2024
1 parent 7166907 commit 538005c
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 2 deletions.
3 changes: 2 additions & 1 deletion tests/prague/eip6110_deposits/test_deposits.py
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,7 @@
signature=0x03,
index=i,
)
for i in range(480)
for i in range(200)
],
tx_gas_limit=20_000_000,
),
Expand Down Expand Up @@ -974,6 +974,7 @@ def test_deposit(
),
],
)
@pytest.mark.execute(pytest.mark.skip(reason="requires block validation"))
def test_deposit_negative(
blockchain_test: BlockchainTestFiller,
pre: Alloc,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -676,6 +676,7 @@ def test_withdrawal_requests(
),
],
)
@pytest.mark.execute(pytest.mark.skip(reason="requires block validation"))
def test_withdrawal_requests_negative(
pre: Alloc,
blockchain_test: BlockchainTestFiller,
Expand Down
1 change: 1 addition & 0 deletions tests/prague/eip7251_consolidations/test_consolidations.py
Original file line number Diff line number Diff line change
Expand Up @@ -729,6 +729,7 @@ def test_consolidation_requests(
),
],
)
@pytest.mark.execute(pytest.mark.skip(reason="requires block validation"))
def test_consolidation_requests_negative(
pre: Alloc,
blockchain_test: BlockchainTestFiller,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ def single_deposit(i: int) -> DepositRequest: # noqa: D103
return DepositRequest(
pubkey=(i * 3),
withdrawal_credentials=(i * 3) + 1,
amount=32_000_000_000,
amount=1_000_000_000,
signature=(i * 3) + 2,
index=i,
)
Expand Down

0 comments on commit 538005c

Please sign in to comment.