test_account_state_gas_via_delegation_pointer()¶
Documentation for tests/amsterdam/eip8037_state_creation_gas_cost_increase/test_state_gas_delegation_pointer.py::test_account_state_gas_via_delegation_pointer@622620d8.
Generate fixtures for these test cases for Amsterdam with:
fill -v tests/amsterdam/eip8037_state_creation_gas_cost_increase/test_state_gas_delegation_pointer.py::test_account_state_gas_via_delegation_pointer --fork Amsterdam
Test account-creating charges are billed the same via a delegation pointer as they are directly.
Delegated code runs in the authority's context, so a CREATE takes the authority's nonce and a SELFDESTRUCT moves the authority's balance. Each still bills its state charge from the reservoir, and the header reports it in the state dimension.
Source code in tests/amsterdam/eip8037_state_creation_gas_cost_increase/test_state_gas_delegation_pointer.py
263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 | |
Parametrized Test Cases¶
This test generates 3 parametrized test cases across 1 fork.