EIP-7519
Atomic Storage Operations SCREDIT and SDEBIT
Add atomic operations for incrementing and decrementing storage slots
StagnantMerge
Status history
- Draft16 Sep 2023
- Stagnantdate not observed
Abstract
Two new opcodes that atomically mutate smart contract storage are proposed: SCREDIT, which increments a storage slot by a specified value, and SDEBIT, which decrements a storage slot by a specified value. Overflow and underflow errors are enforced, reverting when an unsigned 256-bit integer would overflow or underflow.