MetaMask / metamask-mobile

Mobile web browser providing access to websites that use the Ethereum blockchain
https://metamask.io
Other
2.04k stars 1.06k forks source link

[Bug]: NFT disappears after killing and relaunching the app #10057

Closed cortisiko closed 5 days ago

cortisiko commented 1 week ago

Describe the bug

There is currently a bug on main and the release relating to NFTs disappearing. The bug happens when you:

manually import an NFT Kill and relaunch the app Upon landing on the wallet, the NFT disappears.

Expected behavior

NFTs should not disappear from your account when you kill and relaunch the app

Screenshots/Recordings

https://github.com/MetaMask/metamask-mobile/assets/12821081/657081df-08a2-414e-a4fd-e558ef56f86c

Steps to reproduce

Import wallet that has NFTs Manually import the NFT do not use NFT auto detection Kill and relaunch the app Notice the NFT is no longer in your wallet

Error messages or log output

No response

Version

7.26 RC

Build type

None

Device

iOS and Android

Operating system

Android

Additional context

Credits to Sahara for going back in the commit history to reproduce:

On commit: 2384af6f6 => I can reproduce this bug => PR: https://github.com/MetaMask/metamask-mobile/pull/9570/files On commit 5db49f187 => I cannot reproduce this bug

Severity

No response

metamaskbot commented 5 days ago

Missing release label release-7.26.0 on issue. Adding release label release-7.26.0 on issue, as issue is linked to PR #10133 which has this release label.