EIP-7609 reduce transient storage pricing

One element of calldata is VeryLow (3) + Memory (3) => 6; so is question if TLOAD should be lower than calldata

So maybe something like

SLOAD cold => 2100 (Unchanged)
SLOAD warm => 6 (CallData 1 Word Read)
TLOAD => 6 (CallData 1 Word Read)
TSTORE => 10 (High) + inclusion in Memory expansion cost at x2 (key+value)
SSTORE => Unchanged

While SLOAD and TSTORE are slightly more complicated than a call data read; call data also includes 3 pops vs 1 pop for the loads, so evens out :slight_smile:

1 Like