test_worst_depth_get_deepest()¶
Documentation for tests/benchmark/stateful/bloatnet/depth_benchmarks/test_deep_branch.py::test_worst_depth_get_deepest@892e6d1e.
Generate fixtures for these test cases for Amsterdam with:
fill -v tests/benchmark/stateful/bloatnet/depth_benchmarks/test_deep_branch.py::test_worst_depth_get_deepest --gas-benchmark-values 1
BloatNet worst-case SLOAD benchmark with deep CREATE2-derived contracts.
This benchmark calls getDeepest() on pre-mined contracts and validates
inside the orchestrator that every call succeeds and returns the expected
value. Fill mode requires the exact constructor-initialized value 1,
while execute mode only requires a non-zero value to tolerate reused
deterministic deployments on a dirty chain.
Source code in tests/benchmark/stateful/bloatnet/depth_benchmarks/test_deep_branch.py
583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 | |
Parametrized Test Cases¶
This test generates 13 parametrized test cases across 3 forks.