-
-
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
chore: @metamask/swaps-controller v9 -> v10 #10743
Conversation
👍 Dependency issues cleared. Learn more about Socket for GitHub ↗︎ This PR previously contained dependency changes with security issues that have been resolved, removed, or ignored. |
Need to delete the patch introduced in #10960 SwapsController v10 will have this: https://github.com/MetaMask/swaps-controller/pull/312 |
Just updated the PR and removed this. |
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.
Have not QA'd it but code lgtm!
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. |
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.
This looks good but there's little to no checks or tests ran against these new changes.
At the very least, please run E2E smoke tests
on the PR. I already added the label, you may need to remove and add again to get it to run.
I would also like to see some test coverage on the changes. At the moment I just have to trust this doesn't break anything.
Also, a few conflicts that need addressing.
Bitrise❌❌❌ Commit hash: ba723f3 Note
Tip
|
1722e2e
to
3cbf42e
Compare
New and removed dependencies detected. Learn more about Socket for GitHub ↗︎
🚮 Removed packages: npm/@metamask/swaps-controller@9.0.12 |
Bitrise✅✅✅ Commit hash: 674d260 Note
|
Tested |
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.
Looks good!
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.
Tested locally and everything LGTM!
Description
This PR includes the necessary changes for the client to work with @metamask/swaps-controller v10.0.0 (https://www.npmjs.com/package/@metamask/swaps-controller/v/10.0.0)
Related PRs
Upgrade controller to BaseController V2 (#277)
Update name of Polygon network token from MATIC to POL (#312)
These changes are needed since swaps-controller v10, will be upgrading to extend from base controller v2, changing the way how controllers interact with each other
Related issues
N/A
Manual testing steps
N/A
Screenshots/Recordings
Before
After
Pre-merge author checklist
Pre-merge reviewer checklist