test_self_destructing_account()¶
Documentation for tests/shanghai/eip4895_withdrawals/test_withdrawals.py::test_self_destructing_account@b314d18e.
Generate fixtures for these test cases for Amsterdam with:
fill -v tests/shanghai/eip4895_withdrawals/test_withdrawals.py::test_self_destructing_account --fork Amsterdam
Test withdrawals can be done to self-destructed accounts.
Account 0x100 self-destructs and sends all its balance to 0x200. Then,
a withdrawal is received at 0x100 with 99 wei.
Source code in tests/shanghai/eip4895_withdrawals/test_withdrawals.py
409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 | |
Parametrized Test Cases¶
This test generates 1 parametrized test case across 5 forks.