-
Notifications
You must be signed in to change notification settings - Fork 5.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
fix: cp-12.12.0 30060 lattice account import issue #30128
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. |
Builds ready [a7df2af]
Page Load Metrics (1585 ± 43 ms)
Bundle size diffs [🚨 Warning! Bundle size has increased!]
|
Builds ready [433dce0]
Page Load Metrics (1660 ± 51 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!
Tested locally and able to add 5x Lattice1 accounts with no errors. |
It looks like the entire |
I think this is done by
The patch only change the return of addAccounts() from whole list of stored this.accounts to last added new account, since our metamask-controller code in |
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.
I assume a lot of changes on this patch were due to the linter, which is not ideal. The fix itself looks good, we should revert all the linter changes after the release to keep the patch simple
yea, i think the best approach is ask lattice team to release a new version with my PR from my fork, i will contact them to ask them release as soon as possible so that we dont need to use patch anymore. |
Description
This PR will fix the #30060 user unable to add more than one lattice issue.
The current patch fix is temperately fix, will need to upgrade
eth-lattice-keyring
library to provide proper fix.Related issues
Fixes:
#30060
Manual testing steps
Screenshots/Recordings
Before
Private Zenhub Video
After
Pre-merge author checklist
Pre-merge reviewer checklist