test_create_with_reservoir()¶
Documentation for tests/amsterdam/eip8037_state_creation_gas_cost_increase/test_state_gas_create.py::test_create_with_reservoir@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_with_reservoir --fork Amsterdam
Test CREATE/CREATE2 with state gas funded from the reservoir.
The factory is forwarded only the execution gas it needs, so the new-account charge can only come from the reservoir riding along. One gas short of that grant the factory halts instead.
Source code in tests/amsterdam/eip8037_state_creation_gas_cost_increase/test_state_gas_create.py
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 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 | |
Parametrized Test Cases¶
This test generates 4 parametrized test cases across 1 fork.