EIP-140
REVERT instruction
FinalSplurge
Status history
- Draft6 Feb 2017
- Finaldate not observed
Abstract
The REVERT instruction will stop execution, roll back all state changes done so far and provide a pointer to a memory section, which can be interpreted as an error code or message. While doing so, it will not consume all the remaining gas.