test_create_mixed_success_and_failure_block_accounting()¶
Documentation for tests/amsterdam/eip8037_state_creation_gas_cost_increase/test_state_gas_create.py::test_create_mixed_success_and_failure_block_accounting@622620d8.
Generate fixtures for these test cases for Amsterdam with:
fill -v tests/amsterdam/eip8037_state_creation_gas_cost_increase/test_state_gas_create.py::test_create_mixed_success_and_failure_block_accounting --fork Amsterdam
Verify block state gas excludes refunded charges from failed CREATE.
One successful CREATE plus one failed CREATE (REVERT): block state gas reflects only the successful charges.
Source code in tests/amsterdam/eip8037_state_creation_gas_cost_increase/test_state_gas_create.py
2129 2130 2131 2132 2133 2134 2135 2136 2137 2138 2139 2140 2141 2142 2143 2144 2145 2146 2147 2148 2149 2150 2151 2152 2153 2154 2155 2156 2157 2158 2159 2160 2161 2162 2163 2164 2165 2166 2167 2168 2169 2170 2171 2172 2173 2174 2175 2176 2177 2178 2179 | |
Parametrized Test Cases¶
This test generates 2 parametrized test cases across 1 fork.