Skip to content

Commit

Permalink
feat: add eth native icon for zora network (#29257)
Browse files Browse the repository at this point in the history
## **Description**

The zora network uses ETH as its native token, so it can have an ETH
icon.

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

## **Related issues**

Fixes:

## **Manual testing steps**

1. Add zora network
2. Verify native eth asset has eth icon

## **Screenshots/Recordings**

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

### **Before**
<img width="156" alt="Screenshot 2024-12-16 at 2 55 29 PM"
src="https://github.com/user-attachments/assets/897a1d93-46c1-4d27-af4e-26c2fb41202f"
/>

### **After**

<img width="157" alt="Screenshot 2024-12-16 at 2 55 08 PM"
src="https://github.com/user-attachments/assets/6e7b7d5a-4849-41d7-9080-ff5ac15913b3"
/>


## **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.
  • Loading branch information
bergeron authored Dec 18, 2024
1 parent 9020abf commit d630827
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions shared/constants/network.ts
Original file line number Diff line number Diff line change
Expand Up @@ -867,6 +867,7 @@ export const CHAIN_ID_TOKEN_IMAGE_MAP = {
[CHAIN_IDS.GRAVITY_ALPHA_MAINNET]: GRAVITY_ALPHA_MAINNET_IMAGE_URL,
[CHAIN_IDS.GRAVITY_ALPHA_TESTNET_SEPOLIA]:
GRAVITY_ALPHA_TESTNET_SEPOLIA_IMAGE_URL,
[CHAINLIST_CHAIN_IDS_MAP.ZORA_MAINNET]: ETH_TOKEN_IMAGE_URL,
} as const;

export const INFURA_BLOCKED_KEY = 'countryBlocked';
Expand Down

0 comments on commit d630827

Please sign in to comment.