MetaMask / metamask-mobile

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

[Bug]: After swapping stable pool token the wallet shows zero balance and rate conversion error #11740

Open davibroc opened 2 weeks ago

davibroc commented 2 weeks ago

Describe the bug

After swapping Balancer USDC-DAI-USDT Stable Pool token the wallet shows the balance as zero and an error unable to find the conversion rate. See video below

Expected behavior

No response

Screenshots/Recordings

https://github.com/user-attachments/assets/2a73ce99-a350-4430-9d2b-72bb9cdc064e

Steps to reproduce

  1. Goto Swap
  2. Select destination token Balancer USDC-DAI-USDT Stable Pool
  3. After wapping notice that the wallet show zero balance and the error

Error messages or log output

No response

Detection stage

On the development branch

Version

develop

Build type

None

Device

iPhone 15 simulator

Operating system

iOS

Additional context

No response

Severity

No response

davibroc commented 2 weeks ago

Looks like that price-api did not return token prices for that contract "0x79c58f70905f734641735bc61e45c19dd9ad60bc"

davibroc commented 2 weeks ago

Looks it's not a valid token implementation for that network https://basescan.org/address/0x79c58f70905f734641735bc61e45c19dd9ad60bc

bergeron commented 2 weeks ago

It's expected to not have fiat prices for that token, but the balance probably shouldn't be 0. Do you know whether it ever updated to non zero in the future? And do we know if this reproduces for other tokens?