test_calldata_floor_applied_to_sender_refund()¶
Documentation for tests/amsterdam/eip8037_state_creation_gas_cost_increase/test_state_gas_calldata_floor.py::test_calldata_floor_applied_to_sender_refund@a9abd46e.
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_applied_to_sender_refund --fork Amsterdam
Verify the calldata floor is applied to the sender gas refund.
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
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 | |
Parametrized Test Cases¶
This test generates 1 parametrized test case across 1 fork.