MetaMask / metamask-extension

:globe_with_meridians: :electric_plug: The MetaMask browser extension enables browsing Ethereum blockchain enabled websites
https://metamask.io
Other
11.52k stars 4.7k forks source link

[Bug]: Users may encounter difficulties when attempting to manually import ERC20 tokens on specific networks #24381

Open sleepytanya opened 1 week ago

sleepytanya commented 1 week ago

Describe the bug

MetaMask manual importation of ERC20 tokens on certain networks doesn't work (Theta network). The 'Import Tokens' screen does not display the fields for the token address, symbol, or decimals. After attempting to import, the tokens do not appear in the 'Tokens' tab. However, on networks like Cronos and PulseChain, this issue can often be remedied by clicking the 'Back' button on the Import screen, which then presents the full view, allowing for successful token importation.

The issue is present on 11.14.4, 11.14.5, 11.16.0.

Expected behavior

Users should be able to import ERC20 tokens manually.

Screenshots/Recordings

https://github.com/MetaMask/metamask-extension/assets/104780023/26400711-dfbe-4e13-9d23-4f3d9d8a259f

https://github.com/MetaMask/metamask-extension/assets/104780023/996688fd-dfaa-4e90-a173-a04167fd01ca

Steps to reproduce

  1. Connect to Theta, Cronos, PulseChain (may be other networks are also affected)
  2. Try to manually import any ERC20 token
  3. Notice the Import screen doesn't display all fields for token details
  4. In some cases tokens can be imported (Cronos and PulseChain), on Theta network ERC20 can't be imported manually.

Error messages or log output

No errors in the background console.

Version

11.14.4, 11.14.5, 11.16.0

Build type

None

Browser

Chrome

Operating system

MacOS

Hardware wallet

No response

Additional context

No response

Severity

No response