Skip to content

fix: use chain.logo instead of getNetworkIconUrl in NetworkGrid#266

Open
markshenouda wants to merge 1 commit intofeat/dev-3.0-no-landingfrom
fix/ccip-testnet-network-icons
Open

fix: use chain.logo instead of getNetworkIconUrl in NetworkGrid#266
markshenouda wants to merge 1 commit intofeat/dev-3.0-no-landingfrom
fix/ccip-testnet-network-icons

Conversation

@markshenouda
Copy link
Copy Markdown
Member

Testnet chain display names (e.g. 'Ethereum Sepolia') were being normalized to CDN paths that don't exist (e.g. ethereum-sepolia.svg). Mainnet names (e.g. 'Ethereum') happened to match CDN filenames.

getAllNetworks already computes the correct logo via getChainIcon, so use chain.logo directly and remove the getNetworkIconUrl call.

Screenshot 2026-04-01 at 1 09 14 PM

Testnet chain display names (e.g. 'Ethereum Sepolia') were being
normalized to CDN paths that don't exist (e.g. ethereum-sepolia.svg).
Mainnet names (e.g. 'Ethereum') happened to match CDN filenames.

getAllNetworks already computes the correct logo via getChainIcon,
so use chain.logo directly and remove the getNetworkIconUrl call.
@markshenouda markshenouda self-assigned this Apr 1, 2026
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.

1 participant