namada icon indicating copy to clipboard operation
namada copied to clipboard

Improve the ledger reset command to by-default preserve keys and configs

Open sug0 opened this issue 2 years ago • 4 comments

When we reset the ledger state, despite Namada correctly operating as a validator node, CometBFT operates under the assumption it is connected to a full node.

sug0 avatar Oct 18 '23 14:10 sug0

@sug0 Is this still applicable?

cwgoes avatar Aug 27 '24 07:08 cwgoes

yep. I think the main reason for this behavior is that the command purges keys, as well as data. maybe it could be solved with a --keep-validator-keys flag, or smth

sug0 avatar Aug 27 '24 07:08 sug0

I propose we change the default behavior not to purge keys as it's a common footgun and instead add some non-default flag to do that only when explicitly request. This should also cover the Namada wallet file and perhaps configs too

tzemanovic avatar Feb 14 '25 09:02 tzemanovic

I propose we change the default behavior not to purge keys as it's a common footgun and instead add some non-default flag to do that only when explicitly request. This should also cover the Namada wallet file and perhaps configs too

yeah agreed

sug0 avatar Feb 14 '25 10:02 sug0