test_access_list_warms_storage_slot()¶
Documentation for tests/amsterdam/eip8038_state_access_gas_cost_increase/test_access_list_gas.py::test_access_list_warms_storage_slot@87aba1a3.
Generate fixtures for these test cases for Amsterdam with:
fill -v tests/amsterdam/eip8038_state_access_gas_cost_increase/test_access_list_gas.py::test_access_list_warms_storage_slot --fork Amsterdam
A storage slot named in the access list is warm on first access.
The first runtime SLOAD/SSTORE of an access-list slot pays
the warm cost: WARM_SLOAD for SLOAD; for SSTORE an
overwrite of a non-zero original to a new non-zero value pays
WARM_SLOAD + STORAGE_WRITE.
Source code in tests/amsterdam/eip8038_state_access_gas_cost_increase/test_access_list_gas.py
204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 | |
Parametrized Test Cases¶
This test generates 2 parametrized test cases across 1 fork.