test_charge_draws_entirely_from_reservoir()¶
Documentation for tests/amsterdam/eip8037_state_creation_gas_cost_increase/test_state_gas_pricing.py::test_charge_draws_entirely_from_reservoir@c74f1a67.
Generate fixtures for these test cases for Amsterdam with:
fill -v tests/amsterdam/eip8037_state_creation_gas_cost_increase/test_state_gas_pricing.py::test_charge_draws_entirely_from_reservoir --fork Amsterdam
Test state gas is drawn entirely from the reservoir.
When the reservoir has enough gas for the SSTORE state cost, gas_left should not be reduced by the state charge. Verify by performing a regular-gas-heavy computation after the SSTORE.
Source code in tests/amsterdam/eip8037_state_creation_gas_cost_increase/test_state_gas_pricing.py
91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 | |
Parametrized Test Cases¶
This test generates 1 parametrized test case across 1 fork.