[Bug]: Solana accounts (second SRP) name mismatch
Describe the bug
- Accounts 5, 8 and 7 in the Accounts list (in this order 5 - 8 - 7)
- I switch to Account 7 (it never loads)
- I switch to Account 8 - the Account name on the home screen is Account 6
- After adding more Solana accounts, the Account 7 con't be found within the Accounts list
Update:
Account 7 disappeared only from the Accounts list - if I choose Account 9, the Account name on the home screen is Account 7:
https://github.com/user-attachments/assets/278710b3-fa55-4cf3-8ba4-b2e2f16a7f63
Expected behavior
Screenshots/Recordings
https://github.com/user-attachments/assets/b0eaceb0-13cb-41c0-b001-0207eb8ddfc6
https://github.com/user-attachments/assets/88d631ad-9a37-40de-b0fe-efa6dd29845c
Steps to reproduce
- Import Solana wallet with the SRP
- Switch between / create accounts
Error messages or log output
Detection stage
During release testing
Version
12.18.0
Build type
None
Browser
Chrome
Operating system
MacOS
Hardware wallet
No response
Additional context
No response
Severity
No response
@PatrykLucka Reviewing tomorrow morning. Can't adjust assignee
Reproduced using the following steps:
- Import 1 SRP with multiple Solana accounts
- Click on
Lock wallet - Click on
Forgot password - Restore with the same SRP (Notice only the first 3 Solana accounts are restored)
- Add Solana Account
- Notice Solana Account 4 is added but Solana Account 3 disappears from the list (they have the same address, so no account is lost)
I was not able to reproduce the name mismatch or disappearing of the account, but it looks like there are some issues in solana snap for discovering accounts activity on devnet. I'm getting different number of accounts discovered on almost every discovery for one of our test SRPs. @ulissesferreira is helping with this. He found that sometimes we're getting empty array for account that should return some activity. I hope that fixing that issue will fix also other issues I was not able to reproduce.
Hey @ulissesferreira can you link the relevant PR here?
Hey guys, no PR needed to be linked, we have traced back the discovery of accounts problem to faulty RPC responses which have been talked about in a thread with DIN + Infura
Thank you @ulissesferreira 🙏 Updating Teams
@ulissesferreira can we close that bug or remove the release-blocker label as a solution has been found? https://consensys.slack.com/archives/C07K3SY1LMQ/p1747128815829139?thread_ts=1746797644.390509&cid=C07K3SY1LMQ cc: @sleepytanya @javiergarciavera @jvbriones
Fixed in the latest build https://github.com/MetaMask/metamask-extension/pull/32383#issuecomment-2876776776
https://github.com/user-attachments/assets/371381c0-c976-41ed-8689-11aa1b0643af
Hi @PatrykLucka,
This issue has been closed. Please complete this RCA form: https://docs.google.com/forms/d/e/1FAIpQLSfnfEWH7JCFFtvjCHixgyqJdTU3LW3BmTwdF1dDezTNf7m4ig/viewform?entry.340898780=32647&entry.1756851972=regression-RC-12.18.0&entry.765806202=team-solana