MetaMask / MetaMask/metamask-mobile

[Bug]: Earn is not showing the same tokens to deposit compared to previous release after upgrade

Open
#25,133 0 comments 0 reactions 0 assignees View on GitHub
earn regression-RC-7.63.0 Sev3-low team-earn type-bug
Dominant language
TypeScript
Stars
3k
Forks
1.7k
Avg merge
1d 14h
Merged PRs (30d)
669

Description

### Describe the bug

Earn is not showing the same assets on the select token to deposit modal as it was on the previous version for the same account. This release is showing fewer tokens to deposit, only showing ETH on Ethereum. Previous release also showed USDC on Base and Linea.

UPDATE: Expected tokens to deposit showed up after several minutes, maybe a few hours on this build.

### Expected behavior

- Should show all earn eligible tokens to select on select token deposit modal

### Screenshots/Recordings

https://consensys.zoom.us/clips/share/dNJ1KbXVRm6FmfVPOJASeQ

### Steps to reproduce
```gherkin
Feature: Deposit Tokens to Earn After Upgrade
As a MetaMask Mobile user
I want to deposit tokens to Earn after upgrading the app
So that I can continue using the same tokens I had available before the upgrade

Background:
Given I am logged into MetaMask Mobile
And I have upgraded to the latest app version

@earn
@deposit
@post-upgrade
Scenario: Available tokens persist in deposit selection modal after upgrade
Given I am on the Wallet home screen
And I have ETH and USDC tokens in my wallet

When I navigate to "Earn"
Then I should see the token selection modal
And I should see "ETH" available to deposit
And I should see "USDC" available to deposit
And all my pre-upgrade tokens should be available for selection

When I select "ETH" from the token list
Then I should be on the Earn deposit screen
And "ETH" should be selected as the deposit token
```
### Error messages or log output

```shell

```

### Where was this bug found?

Internal release testing

### Version

7.63.0

### Build number

3518

### Build type

None

### Device

iPhone 12 Max iOS 18.6.1

### Operating system

iOS

### Additional context

_No response_

### Severity

_No response_

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the Earn deposit token selection flow on MetaMask Mobile version 7.63.0, build 3518, using the listed iPhone and iOS versions. Compare the tokens shown immediately after upgrade with the eligible ETH and USDC assets, and verify that all eligible tokens appear without a multi-minute delay.

Written by the indexing model from the issue text.

Assessment

Tech stack
react-native, typescript
Domain
mobile
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 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.