File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed
tests/prague/eip7623_increase_calldata_cost Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -277,12 +277,19 @@ def test_gas_refunds_from_data_floor(
277277 raise ValueError ("Invalid refund test type" )
278278 if gas_used < tx_floor_data_cost :
279279 gas_used = tx_floor_data_cost
280+ # This is the actual test verification:
281+ # - During test filling, the receipt returned by the transition tool (t8n) is verified against
282+ # the expected receipt.
283+ # - During test consumption, this is reflected in the balance difference and the state
284+ # root.
280285 tx .expected_receipt = TransactionReceipt (gas_used = gas_used )
281286 state_test (
282287 pre = pre ,
283288 post = {
284289 tx .to : {
285- "storage" : {0 : 0 }, # Verify storage was cleared
290+ # Verify that the storage was cleared (for storage clear refund).
291+ # See `code_storage` fixture for more details.
292+ "storage" : {0 : 0 },
286293 }
287294 },
288295 tx = tx ,
You can’t perform that action at this time.
0 commit comments