feat(network): register Gravity Mainnet (L1) so its logos render - #45436
feat(network): register Gravity Mainnet (L1) so its logos render#45436Richard1048576 wants to merge 1 commit into
Conversation
Gravity Mainnet (L1, chainId 127001 / 0x1f019) currently shows a blank network logo and a blank token logo. MetaMask already ships Gravity Alpha Mainnet (0x659) and Gravity Alpha Sepolia (0x34c1) with logos, and the brand asset ./images/gravity.svg is already in the repo — L1 is simply not registered in the image maps, so it falls back to a letter placeholder. This registers the chain ID and wires it into the existing maps: - CHAIN_ID_TO_NETWORK_IMAGE_URL_MAP (network logo) - CHAIN_ID_TOKEN_IMAGE_MAP (native token logo) - NETWORK_TO_NAME_MAP (display name) - CHAIN_ID_TO_CURRENCY_SYMBOL_MAP (native currency G) Gravity L1 is a separate chain from Gravity Alpha Mainnet (0x659), which is an Arbitrum Nitro rollup being deprecated. The new constant is GRAVITY, so there is no collision with the existing GRAVITY_ALPHA_* constants. Config only — the icon asset is reused, no new files. FEATURED_RPCS is deliberately untouched: popular-network placement is a separate commercial discussion and is not part of this change. Chain metadata is registered upstream at https://github.com/ethereum-lists/chains/blob/master/_data/chains/eip155-127001.json Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
|
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. |
|
Built and verified locally on the branch. Build — The change reaches the bundle — The reused asset ships — Unit tests — I'll add before/after screenshots of the network picker and the asset list shortly. Happy to run anything else that would help review. |
|
I have read the CLA Document and I hereby sign the CLA |

Description
Gravity Mainnet (L1, chainId
127001/0x1f019) currently renders a blank network logo and a blank token logo in MetaMask.MetaMask already ships Gravity Alpha Mainnet (
0x659) and Gravity Alpha Sepolia (0x34c1) with logos, and the brand asset./images/gravity.svgis already in this repo — Gravity L1 is simply not registered in the image maps, so it falls back to a letter placeholder.This PR registers the chain ID and wires it into the existing maps:
CHAIN_ID_TO_NETWORK_IMAGE_URL_MAPCHAIN_ID_TOKEN_IMAGE_MAPNETWORK_TO_NAME_MAPCHAIN_ID_TO_CURRENCY_SYMBOL_MAPGConfig only — no new assets, no new files. The existing
gravity.svgis reused.FEATURED_RPCSis deliberately untouched. Popular-network placement is a separate commercial discussion and is explicitly not part of this change.Not a duplicate of the existing Gravity entries
Gravity L1 (
0x1f019) is a different chain from Gravity Alpha Mainnet (0x659), which is an Arbitrum Nitro rollup being deprecated. Different layer, different chain ID. The new constant isGRAVITY(vs. the existingGRAVITY_ALPHA_*), so there is no name or identifier collision.Network details
0x1f019)Chain metadata is registered upstream: ethereum-lists/chains eip155-127001.json
Changelog
CHANGELOG entry: Added the network and token logos for Gravity Mainnet (L1)
Related issues
Fixes: n/a — supersedes #43536, which additionally added a
FEATURED_RPCSentry. That part has been dropped here so this PR is purely the logo registration.Manual testing steps
https://mainnet-rpc.gravity.xyz, chain ID127001, symbolG, explorerhttps://mainnet-explorer.gravity.xyz.Gtoken in the asset list shows the Gravity logo.Screenshots/Recordings
Before
Network avatar and native token both render as a grey letter placeholder.
After
Both render
gravity.svg, matching how Gravity Alpha Mainnet already appears today.Pre-merge author checklist
Note
Low Risk
Config-only constant map updates with no RPC, auth, or runtime logic changes; reuses an existing image asset.
Overview
Registers Gravity Mainnet (L1) (
0x1f019) so network and native-token logos render instead of letter placeholders.Adds the chain ID and wires it into the display name, currency (
G), and image maps, reusing the existinggravity.svgalready used by Gravity Alpha. Does not add aFEATURED_RPCSentry.Reviewed by Cursor Bugbot for commit 91b0346. Bugbot is set up for automated code reviews on this repo. Configure here.