Skip to content

[Bug]: Import token search results returns tokens with incorrect contract address for selected network #11696

@chrisleewilcox

Description

@chrisleewilcox

Describe the bug

When searching to import tokens the search results return tokens that are not supported on the selected network. This may be leading to tokens showing "unable to find conversion rate".

This also shows that token search results doesn't seem to return consistent results. Also, notice some tokens that are supported on selected network does not show correct token smart contract address on selected network.

Was able to reproduce on 7.32.0.

Expected behavior

Searching for imported tokens should only return tokens supported on the selected/active network for the wallet.

Screenshots/Recordings

https://github.com/user-attachments/assets/f56a598c-9af5-41ad-ab6d-2c020259bd46
Screenshot 2024-10-08 at 11 36 56 PM

No response

Steps to reproduce

GIVEN Ethereum Main Network is selected
AND I am on Import token search
WHEN I search for USDC
AND I import USDC
THEN USDC token is imported into wallet view token list
AND proper conversion rate is displayed (FAILED: unable to find conversion)
WHEN I tap on USDC
AND I open Token details
THEN Token contract adress matches 0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48 (FAILED: Token address does not match)

Error messages or log output

No response

Detection stage

During release testing

Version

7.32.0

Build type

None

Device

Any

Operating system

iOS, Android

Additional context

No response

Severity

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Sev1-highAn issue that may have caused fund loss or access to wallet in the past & may still be ongoingregression-RC-7.32.0Regression bug that was found in release candidate (RC) for release 7.32.0release-7.34.0release-blockerThis bug is blocking the next releaseteam-assetstype-bugSomething isn't working

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions