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

chore(runway): cherry-pick fix: cp-12.14.0 duplicate dest assets visible in bridge page #30914

Open
wants to merge 1 commit into
base: Version-v12.14.0
Choose a base branch
from

Conversation

runway-github[bot]
Copy link

@runway-github runway-github bot commented Mar 11, 2025

Description

Some tokens get displayed twice due to chainIds being in different
formats, depending on data source. ERC20 tokens were also not being
looked up correctly due to lowercased addresses.

Open in GitHub Codespaces

Related issues

Fixes: #30765

Manual testing steps

  1. Go to Bridge page
  2. Check that there are no duplicate native tokens in src and
    destination asset picker
  3. Try searching by symbol and verify that list gets updated with
    matching tokens

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. 37e8610

…ble in bridge page (#30846)

<!--
Please submit this PR as a draft initially.
Do not mark it as "Ready for review" until the template has been
completely filled out, and PR status checks have passed at least once.
-->

## **Description**
Some tokens get displayed twice due to chainIds being in different
formats, depending on data source. ERC20 tokens were also not being
looked up correctly due to lowercased addresses.

<!--
Write a short description of the changes included in this pull request,
also include relevant motivation and context. Have in mind the following
questions:
1. What is the reason for the change?
2. What is the improvement/solution?
-->

[![Open in GitHub
Codespaces](https://github.com/codespaces/badge.svg)](https://codespaces.new/MetaMask/metamask-extension/pull/30846?quickstart=1)

## **Related issues**

Fixes: #30765

## **Manual testing steps**

1. Go to Bridge page
2. Check that there are no duplicate native tokens in src and
destination asset picker
3. Try searching by symbol and verify that list gets updated with
matching tokens

## **Screenshots/Recordings**

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

### **Before**

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

### **After**

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

## **Pre-merge author checklist**

- [ ] I've followed [MetaMask Contributor
Docs](https://github.com/MetaMask/contributor-docs) and [MetaMask
Extension Coding
Standards](https://github.com/MetaMask/metamask-extension/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-extension/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.
@runway-github runway-github bot requested a review from a team as a code owner March 11, 2025 18:56
@metamaskbot metamaskbot added the team-runway-bot Runway bot team (for Runway Bot) label Mar 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
team-runway-bot Runway bot team (for Runway Bot)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants