Skip to content

Commit

Permalink
Merge pull request #68 from marioevz/remove-withdrawals-overflow
Browse files Browse the repository at this point in the history
fillers/withdrawals: Remove Overflow Test
  • Loading branch information
spencer-tb authored Feb 14, 2023
2 parents f306d8e + 0d43d20 commit 10e195e
Showing 1 changed file with 0 additions and 32 deletions.
32 changes: 0 additions & 32 deletions fillers/withdrawals/withdrawals.py
Original file line number Diff line number Diff line change
Expand Up @@ -634,38 +634,6 @@ def test_withdrawals_zero_amount(_):
yield BlockchainTest(pre=pre, post=post, blocks=[block])


@test_from(WITHDRAWALS_FORK)
def test_withdrawals_overflowing_balance(_):
"""
Test Withdrawals that overflows an account.
"""
pre = {
TestAddress: Account(balance=1000000000000000000000, nonce=0),
to_address(0x100): Account(
balance=(2**256 - 1),
),
}
blocks = [
Block(
withdrawals=[
Withdrawal(
index=0,
validator=0,
address=to_address(0x100),
amount=1,
)
],
exception="invalid withdrawal",
)
]
post = {
to_address(0x100): Account(
balance=(2**256 - 1),
),
}
yield BlockchainTest(pre=pre, post=post, blocks=blocks)


@test_from(WITHDRAWALS_FORK)
def test_large_withdrawals(_: str):
"""
Expand Down

0 comments on commit 10e195e

Please sign in to comment.