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

Race condition between fetching token registry and asset discovery on wallet restore #35696

Closed
nvonpentz opened this issue Jan 30, 2024 · 0 comments · Fixed by brave/brave-core#22263
Assignees
Labels
feature/web3/wallet/core feature/web3/wallet Integrating Ethereum+ wallet support OS/Desktop priority/P3 The next thing for us to work on. It'll ride the trains. QA/Yes release-notes/include

Comments

@nvonpentz
Copy link
Member

Asset discovery only looks for tokens that are on our registry, and if the registry is empty because it hasn't been pulled down yet, no tokens will be be discovered.

Can reproduce by restoring QA wallet using an empty user-data-dir and seeing tokens do not immediately appear after initial restore.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature/web3/wallet/core feature/web3/wallet Integrating Ethereum+ wallet support OS/Desktop priority/P3 The next thing for us to work on. It'll ride the trains. QA/Yes release-notes/include
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

3 participants