test_sstore_restoration_mixed_with_genuine_sstore()¶
Documentation for tests/amsterdam/eip8037_state_creation_gas_cost_increase/test_state_gas_sstore.py::test_sstore_restoration_mixed_with_genuine_sstore@a9abd46e.
Generate fixtures for these test cases for Amsterdam with:
fill -v tests/amsterdam/eip8037_state_creation_gas_cost_increase/test_state_gas_sstore.py::test_sstore_restoration_mixed_with_genuine_sstore --fork Amsterdam
Verify restoration cycles plus a genuine 0 to x SSTORE.
num_cycles of 0 to x to 0 refund; one genuine 0 to x on slot 99
persists, contributing exactly one sstore_state_gas to block
state gas.
Source code in tests/amsterdam/eip8037_state_creation_gas_cost_increase/test_state_gas_sstore.py
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 | |
Parametrized Test Cases¶
This test generates 2 parametrized test cases across 1 fork.