New EIP!
Block-scoped transient storage opcodes
🔗
github.com/ethereum/EIPs/pul…
Highlights:
- Introduces two new EVM opcodes: BLOAD (0x5e) and BSTORE (0x5f) to read/write block-scoped transient storage.
- Unlike EIP-1153’s TLOAD/TSTORE (transaction-scoped), values written with BSTORE persist across multiple transactions within the same block and are visible to later transactions touching the same contract.
- All block-scoped transient storage is discarded at block finalization, never serialized to disk, and therefore avoids persistent state bloat.
- Gas is specified as 100 for both BLOAD and BSTORE (matching EIP-1153 transient storage costs), with storage-like revert semantics: if a call frame reverts, its BSTORE writes (including from inner calls) are undone.
- Access and ownership mirror persistent storage rules across call types: contract-private; DELEGATECALL/CALLCODE attribute the block-scoped store to the caller’s context, while CALL/STATICCALL attribute it to the callee; BSTORE is forbidden under STATICCALL (exception), but BLOAD is allowed.
ELI5:
Ethereum smart contracts normally save data in "storage," which is expensive because everyone has to keep it forever. This EIP adds a new kind of storage that works the same way, but it only lasts for one block. That means a contract can save temporary notes that are shared across multiple transactions in the same block, then everything is automatically erased when the block ends—making it much cheaper for things like per-block counters, limits, and temporary registries.