Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: fix token list on network rpc selection (#13097) #13123

Merged

Conversation

sahar-fehri
Copy link
Contributor

Description

Cherry picks #13097

Related issues

Fixes: #13091

Manual testing steps

  1. Click on Network filter
  2. Add new RPC for a network
  3. Switch back and forth between networks by clicking on the rpc link
  4. You should see correct tokenList

Screenshots/Recordings

Before

Checkout video in the linked issue 🙏

After

Screen.Recording.2025-01-21.at.15.54.59.mov

Pre-merge author checklist

Pre-merge reviewer checklist

  • I've manually tested the PR (e.g. pull and build branch, run the app, test code being changed).
  • I confirm that this PR addresses all acceptance criteria described in the ticket it closes and includes the necessary testing evidence such as recordings and or screenshots.

Description

Related issues

Fixes:

Manual testing steps

  1. Go to this page...

Screenshots/Recordings

Before

After

Pre-merge author checklist

Pre-merge reviewer checklist

  • I've manually tested the PR (e.g. pull and build branch, run the app, test code being changed).
  • I confirm that this PR addresses all acceptance criteria described in the ticket it closes and includes the necessary testing evidence such as recordings and or screenshots.

## **Description**

When the user adds multiple RPCs for a certain network and switch
between networks by clicking on the RPC link; the tokenList does not
update correctly

## **Related issues**

Fixes: #13091

## **Manual testing steps**

1. Click on Network filter
2. Add new RPC for a network
3. Switch back and forth between networks by clicking on the rpc link
4. You should see correct tokenList

## **Screenshots/Recordings**

<!-- If applicable, add screenshots and/or recordings to visualize the
before and after of your change. -->

### **Before**

<!-- [screenshots/recordings] -->
Checkout video in the linked issue 🙏 

### **After**

<!-- [screenshots/recordings] -->


https://github.com/user-attachments/assets/aff21d16-db9d-4c1e-9150-bf9176f89846


## **Pre-merge author checklist**

- [ ] I’ve followed [MetaMask Contributor
Docs](https://github.com/MetaMask/contributor-docs) and [MetaMask Mobile
Coding
Standards](https://github.com/MetaMask/metamask-mobile/blob/main/.github/guidelines/CODING_GUIDELINES.md).
- [ ] I've completed the PR template to the best of my ability
- [ ] I’ve included tests if applicable
- [ ] I’ve documented my code using [JSDoc](https://jsdoc.app/) format
if applicable
- [ ] I’ve applied the right labels on the PR (see [labeling
guidelines](https://github.com/MetaMask/metamask-mobile/blob/main/.github/guidelines/LABELING_GUIDELINES.md)).
Not required for external contributors.

## **Pre-merge reviewer checklist**

- [ ] I've manually tested the PR (e.g. pull and build branch, run the
app, test code being changed).
- [ ] I confirm that this PR addresses all acceptance criteria described
in the ticket it closes and includes the necessary testing evidence such
as recordings and or screenshots.
Copy link
Contributor

CLA Signature Action: All authors have signed the CLA. You may need to manually re-run the blocking PR check if it doesn't pass in a few minutes.

@sahar-fehri sahar-fehri marked this pull request as ready for review January 22, 2025 20:16
@sahar-fehri sahar-fehri requested a review from a team as a code owner January 22, 2025 20:16
@sethkfman sethkfman added the Run Smoke E2E Triggers smoke e2e on Bitrise label Jan 23, 2025
@sethkfman sethkfman merged commit 2ba60b1 into release/7.39.0 Jan 23, 2025
38 of 40 checks passed
@sethkfman sethkfman deleted the cherry-pick-token-list-on-network-selection-fix branch January 23, 2025 00:22
@github-actions github-actions bot locked and limited conversation to collaborators Jan 23, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Run Smoke E2E Triggers smoke e2e on Bitrise team-assets
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants