test_create_revert_no_code_deposit_state_gas()¶
Documentation for tests/amsterdam/eip8037_state_creation_gas_cost_increase/test_state_gas_create.py::test_create_revert_no_code_deposit_state_gas@c74f1a67.
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_revert_no_code_deposit_state_gas --fork Amsterdam
Test reverted CREATE does not charge code deposit state gas.
When CREATE fails during init code execution (REVERT), the new account state gas is consumed but no code deposit state gas is charged because no code was deployed.
Source code in tests/amsterdam/eip8037_state_creation_gas_cost_increase/test_state_gas_create.py
409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 | |
Parametrized Test Cases¶
This test generates 1 parametrized test case across 1 fork.