fix: Adds missing chiliz entry on constants/networks.ts#40528
Merged
Conversation
Contributor
|
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. |
Contributor
Builds ready [1e2d34f]
⚡ Performance Benchmarks
🌐 Dapp Page Load BenchmarksCurrent Commit: 📄 Localhost MetaMask Test DappSamples: 100 Summary
📈 Detailed Results
Bundle size diffs
|
|
Contributor
Builds ready [50bb868]
⚡ Performance Benchmarks
🌐 Dapp Page Load BenchmarksCurrent Commit: 📄 Localhost MetaMask Test DappSamples: 100 Summary
📈 Detailed Results
Bundle size diffs
|
HowardBraham
approved these changes
Mar 2, 2026
wantedsystem
approved these changes
Mar 2, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



Description
Chiliz network was not added to
CHAIN_ID_TO_CURRENCY_SYMBOL_MAPcausing the extension to use the fallback map. But the fallback is not behaving as expected, causing the system to use a different address fromat when calling the price api. In consequence failing to load the price properly.Changelog
CHANGELOG entry: Adds "CHZ' to
CHAIN_ID_TO_CURRENCY_SYMBOL_MAPRelated issues
Fixes: Missing price api values for Chiliz native token
Manual testing steps
Screenshots/Recordings
Before
After
Pre-merge author checklist
Pre-merge reviewer checklist
Note
Low Risk
Low risk constants-only change scoped to Chiliz chain ID; main impact is on native ticker resolution used by price/token formatting for that network.
Overview
Fixes Chiliz native token resolution by adding
CHILIZ: 'CHZ'toCURRENCY_SYMBOLSand mappingCHAIN_IDS.CHZto that symbol inCHAIN_ID_TO_CURRENCY_SYMBOL_MAP.This ensures Chiliz uses the primary chainId-to-ticker mapping (instead of the collision/fallback map), preventing incorrect downstream formatting (e.g., price API lookups) for
CHZ.Written by Cursor Bugbot for commit 50bb868. This will update automatically on new commits. Configure here.