[Bug]: Duplicate accounts for same address resulting in UI inconsistencies #33431
Labels
needs-triage
Issue needs to be triaged
regression-prod-12.18.3
Regression bug that was found in production in release 12.18.3
team-accounts
team-new-networks
PRs from the New Networks team
type-bug
Something isn't working
Uh oh!
There was an error while loading. Please reload this page.
Describe the bug
When smoke testing v12.18.3, I was just able to create a duplicate Solana account somehow. On my test installation, there are now two entries for the same address in the AccountsController state, but with different names. As a result, I see an inconsistency in the UI for this account (the name is different on the Home screen than in the account list). The account only appears once in the list.
I was able to reproduce this on a slow machine my creating the Solana account very quickly, immediately after onboarding, before the suggested name populated.
Apparently this error case may be prevented on v12.20.0 by a change that prevents account creation before account discovery has completed. But there may be additional underlying problems here, and we still need to somehow fix things for users who have been impacted so far.
Expected behavior
Screenshots/Recordings
Steps to reproduce
The steps I took were:
Error messages or log output
No related console logs or errors
Detection stage
In production (default)
Version
12.18.3
Build type
None
Browser
Chrome
Operating system
MacOS
Hardware wallet
No response
Additional context
Here are the `internalAccounts`, `keyrings`, `identities`, and `lostIdentities` properties from state logs:
Severity
No response
The text was updated successfully, but these errors were encountered: