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

Add Linea to price api supported chains #3797

Merged
merged 2 commits into from
Jan 19, 2024
Merged

Add Linea to price api supported chains #3797

merged 2 commits into from
Jan 19, 2024

Conversation

bergeron
Copy link
Contributor

Explanation

Adds Linea to the list of chains the price API supports. To enable pricing ERC20 tokens.

Before:

Screenshot 2024-01-18 at 12 03 53 PM

After:

Screenshot 2024-01-18 at 3 50 05 PM

References

Changelog

@metamask/assets-controllers

  • ADDED: Add Linea to the price api supported chains

Checklist

  • I've updated the test suite for new or updated code as appropriate
  • I've updated documentation (JSDoc, Markdown, etc.) for new or updated code as appropriate
  • I've highlighted breaking changes using the "BREAKING" category above as appropriate

@bergeron bergeron requested a review from a team as a code owner January 19, 2024 00:03
Copy link
Contributor

@mcmire mcmire left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good!

@bergeron bergeron merged commit d5c5163 into main Jan 19, 2024
136 checks passed
@bergeron bergeron deleted the brian/linea-pricing branch January 19, 2024 16:29
bergeron added a commit to MetaMask/metamask-mobile that referenced this pull request Apr 2, 2024
## **Description**

Patches MetaMask/core#3797 to support pricing
linea erc20 tokens.

## **Related issues**

## **Manual testing steps**

1. Open wallet containing linea erc20 tokens
2. Should have fiat prices

## **Screenshots/Recordings**


### **Before**

<img width="417" alt="Screenshot 2024-04-01 at 12 47 55 PM"
src="https://github.com/MetaMask/metamask-mobile/assets/3500406/e6da264b-d21d-4711-9396-34ba31b732eb">

### **After**

<img width="416" alt="Screenshot 2024-04-01 at 12 40 05 PM"
src="https://github.com/MetaMask/metamask-mobile/assets/3500406/9533d8e6-97ac-4cd1-8670-fce8461323e5">

## **Pre-merge author checklist**

- [x] I’ve followed [MetaMask 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.
metamaskbot pushed a commit to MetaMask/metamask-mobile that referenced this pull request Apr 4, 2024
## **Description**

Patches MetaMask/core#3797 to support pricing
linea erc20 tokens.

## **Related issues**

## **Manual testing steps**

1. Open wallet containing linea erc20 tokens
2. Should have fiat prices

## **Screenshots/Recordings**


### **Before**

<img width="417" alt="Screenshot 2024-04-01 at 12 47 55 PM"
src="https://github.com/MetaMask/metamask-mobile/assets/3500406/e6da264b-d21d-4711-9396-34ba31b732eb">

### **After**

<img width="416" alt="Screenshot 2024-04-01 at 12 40 05 PM"
src="https://github.com/MetaMask/metamask-mobile/assets/3500406/9533d8e6-97ac-4cd1-8670-fce8461323e5">

## **Pre-merge author checklist**

- [x] I’ve followed [MetaMask 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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants