Discussion topic for EIP-8125; Web;
## Abstract
This EIP introduces temporary storage: a new contract-accessible key-value store that persists across transactions and blocks, but is automatically cleared at a protocol-defined schedule. Two new opcodes are added:
-
TMPSTORE(key, value)to write temporary storage for the executing contract. -
TMPLOAD(key)to read temporary storage for the executing contract.
Temporary storage is intended for data that does not need indefinite retention, providing a safer alternative to using permanent state for ephemeral data and enabling bounded growth of this class of state.