-
Notifications
You must be signed in to change notification settings - Fork 0
deps: @metamask/gas-fee-controller@^3.0.0->^12.0.0 #219
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
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. Ignoring: Next stepsTake a deeper look at the dependencyTake a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at support [AT] socket [DOT] dev. Remove the packageIf you happen to install a dependency that Socket reports as Known Malware you should immediately remove it and select a different dependency. For other alert types, you may may wish to investigate alternative packages or consider if there are other ways to mitigate the specific risk posed by the dependency. Mark a package as acceptable riskTo ignore an alert, reply with a comment starting with |
new authors ok |
network access ok |
nikoferro
left a comment
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, makes sense to update it to this version also, specially since we are including this in a new major
23db9a2 to
ee4cfc5
Compare
ee4cfc5 to
59843e5
Compare
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
59843e5 to
438afb2
Compare
|
@nikoferro Do you see any blockers or outstanding issues here? |
|
To help reviewing, this has been published as |
This comment was marked as resolved.
This comment was marked as resolved.
|
If anyone else wants to merge, feel free to go ahead. I'm holding off until we have an identified resolution for the regression behind the revert in: |
|
@legobeat this one looks good, we should still merge first a fix for the revert on a potential 8.0.1 version revert: MetaMask/metamask-mobile#9612 |
Thanks, and those were my thoughts too but I guess we're going for an |
badf201 to
11cf032
Compare
11cf032 to
03545bc
Compare
- devDeps: bump @metamask/composable-controller to match base-controller version
required to match types for transitive deps from metamask controllers
required to align transitive @metamask/eth-query
- peerDeps: @metamask/composable-controller@^3.0.3->^4.0.0 - to match @metamask/base-controller versions - latest version supporting BaseControllerV1
03545bc to
042c55e
Compare
## **Description** - Upgrade `@metamask/swaps-controller` from v8 to v9 - Remove redundant patches Resolves a bunch of outstanding legacy, including `web-provider-engine`. Also enables Base Network for Swaps. ## **Related issues** - #9286 `@metamask/swaps-controller` - v8 upgrade - #9612 - reverted v8 upgrade - MetaMask/swaps-controller#241 - fixed issue that motivated revert of v8 upgrade #### Blocked by - [x] MetaMask/swaps-controller#245 - [x] MetaMask/swaps-controller#219 This PR also patches `swaps-controller@9.0.0` to fix the `web3` import that works differently between the test environment and the actual mobile app / E2E test environment. This should be removed once a `swaps-controller` version addressing this is published. (MetaMask/swaps-controller#255) ## **Manual testing steps** Regression over swaps functionality in the 4 different scenarios: ETH -> WETH WETH -> ETH ETH -> ERC20 ERC20 -> ETH ## **Screenshots/Recordings** ### **Before** ### **After**     ## **Pre-merge author checklist** - [x] I’ve followed [MetaMask Coding Standards](https://github.com/MetaMask/metamask-mobile/blob/main/.github/guidelines/CODING_GUIDELINES.md). - [ ] I've completed the PR template to the best of my ability - [ ] I’ve included tests if applicable - [x] I’ve documented my code using [JSDoc](https://jsdoc.app/) format if applicable - [x] I’ve applied the right labels on the PR (see [labeling guidelines](https://github.com/MetaMask/metamask-mobile/blob/main/.github/guidelines/LABELING_GUIDELINES.md)). Not required for external contributors. ## **Pre-merge reviewer checklist** - [ ] I've manually tested the PR (e.g. pull and build branch, run the app, test code being changed). - [x] I confirm that this PR addresses all acceptance criteria described in the ticket it closes and includes the necessary testing evidence such as recordings and or screenshots. --------- Co-authored-by: nikoferro <nicolaspatricioferro@gmail.com>
web3-provider-engineethjspackages by bumping transtitiveeth-method-registryeth-sig-utilwith bugfixes@metamask/eth-querywith direct package versionThis seems to be the highest we can bump while still having support for
BaseControllerV1but also the lowest without requiring downgrades of peer dependencies. It also aligns@metamask/controller-utilsto a single version. So seems like a sweet spot for the next upgrade cycle.This is a breaking change.
Blocked by