test_call_precompile_is_warm()¶
Documentation for tests/amsterdam/eip8038_state_access_gas_cost_increase/test_call_gas.py::test_call_precompile_is_warm@2867859a.
Generate fixtures for these test cases for Amsterdam with:
fill -v tests/amsterdam/eip8038_state_access_gas_cost_increase/test_call_gas.py::test_call_precompile_is_warm --fork Amsterdam
Verify a call to a precompile is warm from the start.
Precompiles are part of the accessed-addresses set from the start of
every transaction, so a call to one pays only WARM_ACCESS.
The identity precompile (address 4) is used as the target.
Source code in tests/amsterdam/eip8038_state_access_gas_cost_increase/test_call_gas.py
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 664 665 | |
Parametrized Test Cases¶
This test generates 4 parametrized test cases across 1 fork.