MetaMask / MetaMask/metamask-extension

[Bug]: Sending ERC20 token logos on CHILLIZ mainnet crashes the app

Open
#40,475 3 comments 0 reactions 0 assignees View on GitHub
Confirmations needs-triage regression-RC-13.21.0 team-new-networks type-bug
Dominant language
TypeScript
Stars
13.2k
Forks
5.6k
Avg merge
2d 5h
Merged PRs (30d)
451

Description

### Describe the bug

Go to Chilliz Network
Select an ERC 20 token
Click Send
Notice that the screen hangs

### Expected behavior

_No response_

### Screenshots/Recordings

_No response_

### Steps to reproduce

Go to Chilliz Network
Select an ERC 20 token
Click Send
Notice that the screen hangs

### Error messages or log output

```shell
runtime-lavamoat.js:9311 Failed to fetch exchange rates. (Error#182)
error @ runtime-lavamoat.js:9311Understand this error
runtime-lavamoat.js:9263 Error#182: None of the cryptocurrencies are supported by price api
logError @ runtime-lavamoat.js:9263Understand this error
runtime-lavamoat.js:9285 at s.CodefiTokenPricesServiceV2.fetchExchangeRates (chrome-extension://hebhblbkkdabgoldnojllkipeoacjioc/common-1.js:3:459714)
at async w.c (chrome-extension://hebhblbkkdabgoldnojllkipeoacjioc/common-1.js:3:264781)
at async w.d (chrome-extension://hebhblbkkdabgoldnojllkipeoacjioc/common-1.js:3:266624)
at async w.updateExchangeRate (chrome-extension://hebhblbkkdabgoldnojllkipeoacjioc/common-1.js:3:264331)
at async w._executePoll (chrome-extension://hebhblbkkdabgoldnojllkipeoacjioc/common-1.js:3:264596)
at async chrome-extension://hebhblbkkdabgoldnojllkipeoacjioc/common-5.js:3:10862

logError @ runtime-lavamoat.js:9285Understand this error
3runtime-lavamoat.js:9311 RPC (https://challenges.cloudflare.com):
```

### Where was this bug found?

Internal release testing

### Version

13.21.0

### Build type

None

### Browser

Chrome

### Operating system

MacOS

### Hardware wallet

_No response_

### Additional context

_No response_

### Severity

_No response_

Contributor guide

Open the contributing guide

Research direction

Reproduce the hang in Chrome on Chilliz mainnet with an ERC20 token, then inspect the Error#182 exchange-rate stack and the referenced CodefiTokenPricesServiceV2 path. Done means clicking Send no longer hangs when the price API reports that none of the cryptocurrencies are supported.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
blockchain, frontend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.