test_bal_invalid_withdrawal_balance_value()¶
Documentation for tests/amsterdam/eip7928_block_level_access_lists/test_block_access_lists_invalid.py::test_bal_invalid_withdrawal_balance_value@87aba1a3.
Generate fixtures for these test cases for Amsterdam with:
fill -v tests/amsterdam/eip7928_block_level_access_lists/test_block_access_lists_invalid.py::test_bal_invalid_withdrawal_balance_value --fork Amsterdam
Test that clients reject blocks where BAL contains an incorrect balance value for an account modified only by a withdrawal.
Charlie receives a 10 gwei withdrawal in an empty block. BAL is corrupted by changing Charlie's post-balance to 999 instead of the correct 10_000_000_000 (10 gwei in wei).
Source code in tests/amsterdam/eip7928_block_level_access_lists/test_block_access_lists_invalid.py
1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 | |
Parametrized Test Cases¶
This test generates 1 parametrized test case across 1 fork.