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

feat: upgrade assets controllers to version 43 #12340

Closed bergeron closed 4 days ago

bergeron commented 5 days ago

Description

Upgrades the assets controllers to versiom 43, which allows polling for token detection and token lists across chains.

It also lets us remove the patch for staking.

Related issues

Depends on: https://github.com/MetaMask/metamask-mobile/pull/12270

Manual testing steps

With PORTFOLIO_VIEW=false and PORTFOLIO_VIEW=true:

  1. Onboard
  2. Verify erc20 tokens are detected correctly
  3. Switch chains
  4. Verify they're detected correctly on the new chain

Screenshots/Recordings

No visual changes

Before

After

https://github.com/user-attachments/assets/709ca6ba-69b8-4ec8-8fce-d358c7f39b27

Pre-merge author checklist

Pre-merge reviewer checklist

github-actions[bot] commented 5 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 5 days ago

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

Package New capabilities Transitives Size Publisher
npm/@metamask/assets-controllers@43.1.1 None +1 2.12 MB danfinlay, gudahtt, kumavis, ...7 more

🚮 Removed packages: npm/@metamask/assets-controllers@42.0.0

View full report↗︎

github-actions[bot] commented 5 days ago

https://bitrise.io/ Bitrise

✅✅✅ pr_smoke_e2e_pipeline passed on Bitrise! ✅✅✅

Commit hash: f6f76467d3206ae5747a8884b6ea655084d45577 Build link: https://app.bitrise.io/app/be69d4368ee7e86d/pipelines/f6e22f54-3c2f-4ecb-81d8-31b8a52fbc79

[!NOTE]

  • You can kick off another pr_smoke_e2e_pipeline on Bitrise by removing and re-applying the Run Smoke E2E label on the pull request
sonarcloud[bot] commented 4 days ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
71.8% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarQube Cloud

github-actions[bot] commented 4 days ago

https://bitrise.io/ Bitrise

✅✅✅ pr_smoke_e2e_pipeline passed on Bitrise! ✅✅✅

Commit hash: 09bc62b8c185c987db68ce74dacbb849f0fbbe8d Build link: https://app.bitrise.io/app/be69d4368ee7e86d/pipelines/8ff171f9-118c-4f15-8568-e17ef10cff69

[!NOTE]

  • You can kick off another pr_smoke_e2e_pipeline on Bitrise by removing and re-applying the Run Smoke E2E label on the pull request