Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tenermint reset-state does not remove application.db #1721

Closed
rootulp opened this issue Sep 18, 2024 · 0 comments · Fixed by #1723
Closed

tenermint reset-state does not remove application.db #1721

rootulp opened this issue Sep 18, 2024 · 0 comments · Fixed by #1723
Assignees

Comments

@rootulp
Copy link
Contributor

rootulp commented Sep 18, 2024

Context

Problem

celestia-appd tendermint reset-state does not remove application.db

$ celestia-appd tendermint reset-state
I[2024-09-18|12:06:16.915] Removed all blockstore.db                    dir=/Users/rootulp/.celestia-app/data/blockstore.db
I[2024-09-18|12:06:16.915] Removed all state.db                         dir=/Users/rootulp/.celestia-app/data/state.db
I[2024-09-18|12:06:16.916] Removed all cs.wal                           dir=/Users/rootulp/.celestia-app/data/cs.wal
I[2024-09-18|12:06:16.916] Removed all evidence.db                      dir=/Users/rootulp/.celestia-app/data/evidence.db
I[2024-09-18|12:06:16.916] Removed tx_index.db                          dir=/Users/rootulp/.celestia-app/data/tx_index.db

$ ls -al ~/.celestia-app/data
total 8
drwx------   6 rootulp  staff  192 Sep 18 12:06 .
drwxr-xr-x   5 rootulp  staff  160 Sep 18 12:05 ..
drwxr-xr-x   7 rootulp  staff  224 Sep 18 12:05 application.db
-rw-------   1 rootulp  staff  384 Sep 18 12:05 priv_validator_state.json
drwxr-xr-x   3 rootulp  staff   96 Sep 18 12:05 snapshots
drwx------  14 rootulp  staff  448 Sep 18 12:05 traces

Proposal

Add an extra step to these docs to instruct node operators to remove application.db

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant