-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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: Network Controller update to v12.1.2 #8952
Conversation
…eated a migration to clean the storage of networkDetails and networkStatus properties of NetworkController that were deprecated, removed ts-expect-error from engine from controllers that were expecting network controller v12, update selectors that were dependents of the deprecated properties
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. |
New and removed dependencies detected. Learn more about Socket for GitHub ↗︎
|
…rties of network controller
…update 024 migrations unit tests
Bitrise❌❌❌ Commit hash: 0bbc3cf Note
|
Bitrise❌❌❌ Commit hash: 2e48c29 Note
|
Bitrise✅✅✅ Commit hash: ca4e7b2 Note
|
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #8952 +/- ##
==========================================
+ Coverage 43.77% 43.83% +0.06%
==========================================
Files 1274 1275 +1
Lines 31126 31169 +43
Branches 3168 3182 +14
==========================================
+ Hits 13624 13664 +40
- Misses 16689 16690 +1
- Partials 813 815 +2 ☔ View full report in Codecov by Sentry. |
Bitrise❌❌❌ Commit hash: 7e59132 Note
|
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.
Left some comments
…al background state, adapt 36 migration to check every state data first and only then modify the data and updated the tests accordingly, updated fixture-builder with networkId property
Bitrise❌❌❌ Commit hash: 9454fd2 Note
|
Bitrise✅✅✅ Commit hash: 7dc104e Note
|
Quality Gate passedIssues Measures |
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
Description
Related issues
Fixes: https://github.com/MetaMask/mobile-planning/issues/1555
Manual testing steps
Screenshots/Recordings
Add/remove/switch networks: https://recordit.co/LQvO3ZAtkQ
Before migrations and network controller update:
https://recordit.co/KwkE7QUjl6
After migrations and network controller update:
https://recordit.co/Bl1BkZVK1F
Before
After
Pre-merge author checklist
Pre-merge reviewer checklist