test_create_state_gas_scales_with_cpsb()¶
Documentation for tests/amsterdam/eip8037_state_creation_gas_cost_increase/test_state_gas_pricing.py::test_create_state_gas_scales_with_cpsb@2119b382.
Generate fixtures for these test cases for Amsterdam with:
fill -v tests/amsterdam/eip8037_state_creation_gas_cost_increase/test_state_gas_pricing.py::test_create_state_gas_scales_with_cpsb --fork Amsterdam
Test CREATE new-account state gas scales with block gas limit.
State gas for a CREATE is 120 * cpsb (new account) plus code_size * cpsb (code deposit).
Source code in tests/amsterdam/eip8037_state_creation_gas_cost_increase/test_state_gas_pricing.py
502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 | |
Parametrized Test Cases¶
This test generates 10 parametrized test cases across 1 fork.