block-core / blockcore-wallet

Web5 Wallet for your coins, tokens, identities, NFTs and more.
https://www.blockcore.net/wallet
MIT License
43 stars 33 forks source link

CRITICAL ERROR: There are no account state for CRS #265

Open sondreb opened 1 year ago

sondreb commented 1 year ago

image

dangershony commented 1 year ago

Do you know the fix?

sondreb commented 1 year ago

No, it happens in the indexer (local wallet indexer) if there are no account state available. It likely happened with quick wallet and not normal.

The only logical answer without more heavy debugging, is that the indexer process calls save on the store, right after user has added a new account. Then you can get into race condition.

image

sondreb commented 1 year ago

Got an identity account that worked yesterday, today it stopped working:

image

This might be some crash that happens while I'm developing, but it might also be an issue that needs further investigation.

sondreb commented 1 year ago

Had an existing STRAX wallet, attempted to add CRS account to the same wallet, and it failed:

image