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

rusk-wallet: wallet exits with "Please reset the cache!" message #2577

Closed
miloszm opened this issue Oct 3, 2024 · 1 comment · Fixed by #2646
Closed

rusk-wallet: wallet exits with "Please reset the cache!" message #2577

miloszm opened this issue Oct 3, 2024 · 1 comment · Fixed by #2646
Assignees
Labels
fix:bug Something isn't working module:rusk-wallet Issues related to rusk wallet

Comments

@miloszm
Copy link
Contributor

miloszm commented Oct 3, 2024

Summary

After creation of a wallet from scratch, then closing the wallet, opening again, and choosing "Replace your wallet with a lost one using the recovery phrase" and entering some other but valid phrase, there is a crash-like exit with a message "Please reset the cache!" accompanied by some internals which are not helpful to the user.

Possible solution design or implementation

The wallet should be able to handle such scenario and if not, it should guide the user saying, for example, switching the phrase is not possible at this moment, or something similar.

Additional context

It seems to be a common and realistic scenario that user creates a new wallet and then she/he wants to switch to a seed used in the past.

@miloszm miloszm added fix:bug Something isn't working module:rusk-wallet Issues related to rusk wallet labels Oct 3, 2024
@herr-seppia
Copy link
Member

switch to a new seed means means that cache for current wallet needs to be invalidate
We should warn the user about how distructive will be this operation and guide the user in using multiple profiles (if needed)

rusk-wallet -p wallet1
rusk-wallet -p wallet2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
fix:bug Something isn't working module:rusk-wallet Issues related to rusk wallet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants