feat: Update Polygon from MATIC to POL#26671
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. |
MATIC to POL
MATIC to POLMATIC 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. |
Collaborator
Builds ready [3cc4371]
Page Load Metrics (75 ± 8 ms)
Bundle size diffs [🚨 Warning! Bundle size has increased!]
|
bergeron
reviewed
Aug 28, 2024
Collaborator
Builds ready [d29c5e9]
Page Load Metrics (2009 ± 97 ms)
Bundle size diffs [🚨 Warning! Bundle size has increased!]
|
Gudahtt
reviewed
Aug 28, 2024
Collaborator
Builds ready [578e1a5]
Page Load Metrics (1677 ± 47 ms)
Bundle size diffs [🚨 Warning! Bundle size has increased!]
|
Collaborator
Builds ready [30f88bc]
Page Load Metrics (1827 ± 148 ms)
Bundle size diffs [🚨 Warning! Bundle size has increased!]
|
Collaborator
Builds ready [2bcf315]
Page Load Metrics (2108 ± 229 ms)
Bundle size diffs [🚨 Warning! Bundle size has increased!]
|
Gudahtt
reviewed
Aug 29, 2024
garrettbear
reviewed
Aug 29, 2024
Collaborator
Builds ready [e8491d8]
Page Load Metrics (1837 ± 85 ms)
Bundle size diffs [🚨 Warning! Bundle size has increased!]
|
vinnyhoward
approved these changes
Aug 29, 2024
Contributor
|
LGTM✅ |
bschorchit
approved these changes
Aug 29, 2024
Contributor
There was a problem hiding this comment.
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.")
|
Collaborator
Builds ready [1866d55]
Page Load Metrics (1840 ± 98 ms)
Bundle size diffs [🚨 Warning! Bundle size has increased!]
|
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
Add
POLtoken image, and maps it to Polygon Network config. See blog post for more context.Adds chain collision check to not flag
POLas scam tokenAdds migration to overwrite
MATICticker toPOLRelated issues
Fixes: https://consensyssoftware.atlassian.net/browse/MMASSETS-362
Manual testing steps
FEATURED_RPCS, ticker symbol should be POLPolygon Network Tokenon Ethereum MainnetMatic Network Tokenon Ethereum Mainnet (backward compatibility)Additionally, when a user upgrades to this build, migration should run and overwrite ticker from MATIC to POL:
developandyarn && yarn startshould be fine here) -> Polygon Network should showMATICas 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 showPOLas tickerScreenshots/Recordings
Before:
After:
Pre-merge author checklist
Pre-merge reviewer checklist