test_delete_collapses_under_controlled_parent()¶
Documentation for tests/mpt/test_account_trie_structure.py::test_delete_collapses_under_controlled_parent@02aafd78.
Generate fixtures for these test cases for Bogota with:
fill -v tests/mpt/test_account_trie_structure.py::test_delete_collapses_under_controlled_parent --fork Bogota
Delete one child of a 2-child branch below a mined parent node.
pre: .. -> parent -> branch@d -> {doomed, survivor} post: .. -> parent -> survivor, extended by the branch nibble; under an extension parent the two merge into one node Mined siblings at depths 1 and 3 fix the parent kind whatever the uncontrolled accounts are; a collision fails the shape assert.
Source code in tests/mpt/test_account_trie_structure.py
509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 | |
Parametrized Test Cases¶
This test generates 6 parametrized test cases across 3 forks.