Skip to main content

t7_gas_params

Function t7_gas_params 

Source
fn t7_gas_params() -> GasParams
Expand description

Builds the T7 gas table: TIP-1000 creation costs, but the SSTORE creation cost is lowered to the 5k residual (SSTORE_SET_COST) per TIP-1060.

revm charges this residual through sstore_dynamic_gas under the same original == present == 0 condition as the upstream storage-set cost, so a dirty recreation (x→0→y) is charged neither the residual nor the base set cost. The 245k creditable portion is charged (or covered by a credit) by the storage-credit hook in sstore_storage_credits.