mirror of
https://github.com/arnaucube/hermez-node.git
synced 2026-02-06 19:06:42 +01:00
Also, in the cli commands `wipesql` and `discard`, always rebuild the current checkpoint of the stateDBs to make sure it's in a consistent non-corrupted state and do a reset afterwards. These commands will allow reverting the StateDB to a valid and consistent state in case a crash leaves the StateDB in a corrupted state.