Skip to content

Commit 10e195e

Browse files
authored
Merge pull request #68 from marioevz/remove-withdrawals-overflow
fillers/withdrawals: Remove Overflow Test
2 parents f306d8e + 0d43d20 commit 10e195e

File tree

1 file changed

+0
-32
lines changed

1 file changed

+0
-32
lines changed

fillers/withdrawals/withdrawals.py

Lines changed: 0 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -634,38 +634,6 @@ def test_withdrawals_zero_amount(_):
634634
yield BlockchainTest(pre=pre, post=post, blocks=[block])
635635

636636

637-
@test_from(WITHDRAWALS_FORK)
638-
def test_withdrawals_overflowing_balance(_):
639-
"""
640-
Test Withdrawals that overflows an account.
641-
"""
642-
pre = {
643-
TestAddress: Account(balance=1000000000000000000000, nonce=0),
644-
to_address(0x100): Account(
645-
balance=(2**256 - 1),
646-
),
647-
}
648-
blocks = [
649-
Block(
650-
withdrawals=[
651-
Withdrawal(
652-
index=0,
653-
validator=0,
654-
address=to_address(0x100),
655-
amount=1,
656-
)
657-
],
658-
exception="invalid withdrawal",
659-
)
660-
]
661-
post = {
662-
to_address(0x100): Account(
663-
balance=(2**256 - 1),
664-
),
665-
}
666-
yield BlockchainTest(pre=pre, post=post, blocks=blocks)
667-
668-
669637
@test_from(WITHDRAWALS_FORK)
670638
def test_large_withdrawals(_: str):
671639
"""

0 commit comments

Comments
 (0)