-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
fix: Adding migration 125 to remove Deprecated TxController Key from state #26267
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. |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## develop #26267 +/- ##
===========================================
+ Coverage 69.97% 69.98% +0.01%
===========================================
Files 1411 1410 -1
Lines 49995 49910 -85
Branches 13805 13784 -21
===========================================
- Hits 34981 34926 -55
+ Misses 15014 14984 -30 ☔ View full report in Codecov by Sentry. |
Builds ready [537c916]
Page Load Metrics (414 ± 337 ms)
Bundle size diffs [🚨 Warning! Bundle size has increased!]
|
537c916
to
fa03259
Compare
fa03259
to
35ff595
Compare
Quality Gate passedIssues Measures |
Builds ready [35ff595]
Page Load Metrics (224 ± 223 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
Description
We are deleting the depreciated
Txcontroller
key to optimize state management and reduce clutter.Related issues
Fixes: #26067
Manual testing steps
Method 1:
TxController:{transactions:[]}
is present in the background state. and themeta: {version: (less than 124)}
.TxController
is no longer present and the version is updated to 125.Method 2:
chrome.storage.local.get(({ data, meta }) => chrome.storage.local.set({ data: { ...data, TxController: {transactions:[]} }, meta: {...meta, version: 124} }, () => { window.location.reload() }))
TxController:{transactions:[]}
is present in the background state. and themeta: {version: 124}
.TxController
is no longer present and the version is updated to 125.Screenshots/Recordings
Before
After
Pre-merge author checklist
Pre-merge reviewer checklist