Storage
State Reseter
The Revertible
contract provides a function to clear all storage changes made in the current block and reset the contract storage to its previous state. Caution should be exercised while using this contract, especially in the constructor, as it will cause the contract deployment to fail.
Public Functions
rollback
Roll back all state changes made in the current block and reset the contract to the previous state.
Caution: Using this function in a contract constructor will cause the deployment to fail.
Last updated