-
Notifications
You must be signed in to change notification settings - Fork 5k
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
feat: Update Polygon from MATIC
to POL
#26671
feat: Update Polygon from MATIC
to POL
#26671
Conversation
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. |
MATIC
to POL
MATIC
to POL
MATIC
to POL
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## develop #26671 +/- ##
===========================================
+ Coverage 70.10% 70.13% +0.03%
===========================================
Files 1416 1417 +1
Lines 49396 49440 +44
Branches 13802 13833 +31
===========================================
+ Hits 34628 34672 +44
Misses 14768 14768 ☔ View full report in Codecov by Sentry. |
Builds ready [3cc4371]
Page Load Metrics (75 ± 8 ms)
Bundle size diffs [🚨 Warning! Bundle size has increased!]
|
Builds ready [d29c5e9]
Page Load Metrics (2009 ± 97 ms)
Bundle size diffs [🚨 Warning! Bundle size has increased!]
|
Builds ready [578e1a5]
Page Load Metrics (1677 ± 47 ms)
Bundle size diffs [🚨 Warning! Bundle size has increased!]
|
Builds ready [30f88bc]
Page Load Metrics (1827 ± 148 ms)
Bundle size diffs [🚨 Warning! Bundle size has increased!]
|
Builds ready [2bcf315]
Page Load Metrics (2108 ± 229 ms)
Bundle size diffs [🚨 Warning! Bundle size has increased!]
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
Builds ready [e8491d8]
Page Load Metrics (1837 ± 85 ms)
Bundle size diffs [🚨 Warning! Bundle size has increased!]
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM✅ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approving on behalf of confirmations to unblock this per this message ("confirmations team is only a codeowner because of an affected test file, but the changes in that file were just related to test fixtures.")
Quality Gate passedIssues Measures |
Builds ready [1866d55]
Page Load Metrics (1840 ± 98 ms)
Bundle size diffs [🚨 Warning! Bundle size has increased!]
|
Description
Add
POL
token image, and maps it to Polygon Network config. See blog post for more context.Adds chain collision check to not flag
POL
as scam tokenAdds migration to overwrite
MATIC
ticker toPOL
Related issues
Fixes: https://consensyssoftware.atlassian.net/browse/MMASSETS-362
Manual testing steps
FEATURED_RPCS
, ticker symbol should be POLPolygon Network Token
on Ethereum MainnetMatic Network Token
on Ethereum Mainnet (backward compatibility)Additionally, when a user upgrades to this build, migration should run and overwrite ticker from MATIC to POL:
develop
andyarn && yarn start
should be fine here) -> Polygon Network should showMATIC
as ticker. You may need to remove and re-add Polygon Network, as migrations are incremental.yarn && yarn start
, migration 128 should run (Running migration 128... in console) -> Polygon Network should showPOL
as tickerScreenshots/Recordings
Before:
After:
Pre-merge author checklist
Pre-merge reviewer checklist