Skip to main content
Version: 4.2.0

Reset the data

In case something goes wrong and your node can't be recovered, you can reset it and sync it again.

Reset the data:

rm $HOME/.desmos/config/addrbook.json $HOME/.desmos/config/genesis.json
desmos unsafe-reset-all

Your node is now in a pristine state while keeping the original priv_validator.json and config.toml. If you had any sentry nodes or full nodes setup before, your node will still try to connect to them, but may fail if they haven't also been upgraded.

danger

Make sure that every node has a unique priv_validator.json. Do not copy the priv_validator.json from an old node to multiple new nodes. Running two nodes with the same priv_validator.json will cause you to double sign.

After the reset, you can sync back your node with state-sync, check how depending you are doing this on: