test_self_destructing_account()
¶
Documentation for tests/shanghai/eip4895_withdrawals/test_withdrawals.py::test_self_destructing_account@verkle@v0.0.5
.
Generate fixtures for these test cases for Shanghai with:
Shanghai only:
fill -v tests/shanghai/eip4895_withdrawals/test_withdrawals.py::test_self_destructing_account --fork=Shanghai --evm-bin=/path/to/evm-tool-dev-version
For all forks up to and including Shanghai:
fill -v tests/shanghai/eip4895_withdrawals/test_withdrawals.py::test_self_destructing_account --until=Shanghai
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
360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 |
|