test_calldata_floor_charged_to_sender()¶
Documentation for tests/amsterdam/eip8037_state_creation_gas_cost_increase/test_state_gas_calldata_floor.py::test_calldata_floor_charged_to_sender@8acae1b0.
Generate fixtures for these test cases for Amsterdam with:
fill -v tests/amsterdam/eip8037_state_creation_gas_cost_increase/test_state_gas_calldata_floor.py::test_calldata_floor_charged_to_sender --fork Amsterdam
Verify the calldata floor is what the sender pays for.
With a STOP callee and large all-nonzero calldata, execution gas
falls below the calldata floor. The sender must be charged
calldata_floor * gas_price, so the final balance reflects the
floor-applied value, not the pre-floor execution cost.
Source code in tests/amsterdam/eip8037_state_creation_gas_cost_increase/test_state_gas_calldata_floor.py
323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 | |
Parametrized Test Cases¶
This test generates 1 parametrized test case across 1 fork.