-
Notifications
You must be signed in to change notification settings - Fork 5.2k
fix: corrupted tokens state #30046
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: corrupted tokens state #30046
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. |
6182ec8
to
13423d6
Compare
Builds ready [2533ea7]
Page Load Metrics (1561 ± 52 ms)
Bundle size diffs [🚨 Warning! Bundle size has increased!]
|
Builds ready [3e25c4f]
Page Load Metrics (1617 ± 37 ms)
Bundle size diffs [🚨 Warning! Bundle size has increased!]
|
@@ -19,3 +19,50 @@ index 017fb94055b64f99c75f8d54b763a501bdd03e97..34396ba143e3ebcb04fa2c80f7a35d1a | |||
// We want to ensure that the CID is v1 (https://docs.ipfs.io/concepts/content-addressing/#identifier-formats) | |||
// because most cid v0s appear to be incompatible with IPFS subdomains | |||
return { | |||
diff --git a/dist/TokensController.cjs b/dist/TokensController.cjs |
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.
Should we also update the .mjs file as well for webpack builds?
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.
usually updating the cjs file is enough when we create patch
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.
Hmm as long as this passes CI (webpack builds use mjs).
I'm guessing we will release a new version soon.
Still reproducing for both zero_balance.mov |
1️⃣ What was the issue?The token list was not refreshing correctly. 2️⃣ Why did it happen and why wasn’t it caught earlier?Refresh issue appeared to be caused by a missing dependency in the useEffect, suggesting that it was an existing bug. 3️⃣ What actions are we taking to prevent this in the future?Fix was merged. 4️⃣ Any related tickets and ETAs for follow-up actions?
|
Description
Balances should be displayed on the swap from picker
core PR: MetaMask/core#5257
Related issues
Fixes: #30040
Manual testing steps
Screenshots/Recordings
Before
After
Pre-merge author checklist
Pre-merge reviewer checklist