MetaMask / metamask-mobile

Mobile web browser providing access to websites that use the Ethereum blockchain
https://metamask.io
Other
2.18k stars 1.12k forks source link

chore: [DON'T MERGE] Bump `swaps-controller` to test removal of global provider #12378

Open mcmire opened 4 days ago

mcmire commented 4 days ago

Description

This is a PR to test https://github.com/MetaMask/swaps-controller/pull/347, which removes most of SwapsController's reliance on the global provider.

It may be converted into a "real" PR later.

Related issues

Also see:

Manual testing steps

Screenshots/Recordings

Before

Not provided since it should be whatever it is now.

After

https://github.com/user-attachments/assets/62a490c9-32c4-49a2-886d-136328761658

Pre-merge author checklist

Pre-merge reviewer checklist

github-actions[bot] commented 4 days ago

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.

socket-security[bot] commented 4 days ago

New and removed dependencies detected. Learn more about Socket for GitHub ↗︎

Package New capabilities Transitives Size Publisher
npm/@metamask-previews/swaps-controller@11.0.0-preview-40be04506cf92f5e6a271eb90c96b4ddcf57dd5d None 0 281 kB mcmire

🚮 Removed packages: npm/@metamask/swaps-controller@10.0.0

View full report↗︎

mcmire commented 3 days ago

Need to add missing unit tests in order to make SonarCloud pass on this, but all of the existing unit tests should pass and you should be able to follow the manual testing steps listed in the PR description.

sonarcloud[bot] commented 3 days ago

Quality Gate Failed Quality Gate failed

Failed conditions
35.0% Coverage on New Code (required ≥ 60%)

See analysis details on SonarQube Cloud