Skip to content
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: Update accounts packages #12555

Merged
merged 5 commits into from
Dec 5, 2024
Merged

Conversation

owencraston
Copy link
Contributor

@owencraston owencraston commented Dec 4, 2024

Description

All accounts-related packages have been moved to our new monorepo.

A new patch version has been released for each of them. Those new versions have been used and released in all core controllers: MetaMask/core#4734

This repository contains the following packages 1:

Summary of the updates

@metamask/accounts-controller 19.0.0 -> 20.0.1

@metamask/keyring-controller 18.0.0 -> 19.0.1

Updated to support the latest version of the accounts controller.

@metamask/providers 16.1.0-> 18.1.0

This was changed largely to support the newest version of the accounts controller and keyring controller.

@metamask/keyring-api 8.1.0 -> 10.1.0

Version 8.1.1 onward is using the new mono repo. I updated to version 10.1.0 to support the breaking changes in the accounts controller bump from v19.0.0 to v20.0.1

@metamask/eth-snap-keyring 4.3.3 -> 5.0.1

@metamask/eth-sig-util 7.0.2 -> 8.0.0

Updated to support version 5 of the eth-snap-keyring. These breaking changes do not effect the application.

Added webextension-polyfill

webextension-polyfill is required as a peer dependancy in newest updated of the @metamask/providers package. The changelog states that "Users are now expected to have the polyfill in their environment". Extension is using version 0.8.0 of this package.

Related issues

Fixes: https://github.com/MetaMask/accounts-planning/issues/614

Related issues
Related to:

MetaMask/accounts#39
MetaMask/accounts#50
MetaMask/accounts#54
MetaMask/core#4713
MetaMask/core#4734

Manual testing steps

  1. Importing an account should work as expected
  2. Snap accounts should work as expected
  3. Hardware wallets should work as expected

Screenshots/Recordings

Before

After

Importing an account ✅ :

Screen.Recording.2024-12-04.at.3.23.33.PM.mov

Snap accounts ✅ :

Screen.Recording.2024-12-04.at.3.26.41.PM.mov

Importing private key ✅ :

Screen.Recording.2024-12-04.at.3.35.39.PM.mov

Pre-merge author checklist

Pre-merge reviewer checklist

  • I've manually tested the PR (e.g. pull and build branch, run the app, test code being changed).
  • 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.

Copy link
Contributor

github-actions bot commented Dec 4, 2024

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.

@owencraston owencraston added the Run Smoke E2E Triggers smoke e2e on Bitrise label Dec 4, 2024
Copy link
Contributor

github-actions bot commented Dec 4, 2024

https://bitrise.io/ Bitrise

✅✅✅ pr_smoke_e2e_pipeline passed on Bitrise! ✅✅✅

Commit hash: 8df9a0d
Build link: https://app.bitrise.io/app/be69d4368ee7e86d/pipelines/d10c2d95-39cc-4afe-b59d-c2ef650811b3

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

@owencraston owencraston force-pushed the chore/accounts-monorepo-packages branch from 8cbd558 to f8f8e67 Compare December 4, 2024 21:08
@owencraston owencraston added Run Smoke E2E Triggers smoke e2e on Bitrise and removed Run Smoke E2E Triggers smoke e2e on Bitrise labels Dec 4, 2024
Copy link
Contributor

github-actions bot commented Dec 4, 2024

https://bitrise.io/ Bitrise

✅✅✅ pr_smoke_e2e_pipeline passed on Bitrise! ✅✅✅

Commit hash: f8f8e67
Build link: https://app.bitrise.io/app/be69d4368ee7e86d/pipelines/8ebefcd9-07bd-4b83-b18c-4eab82265f2e

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

@owencraston owencraston changed the title chore: Migrate mobile dependencies to use accounts monorepo versions chore: Update accounts packages Dec 4, 2024
@owencraston owencraston added Run Smoke E2E Triggers smoke e2e on Bitrise and removed Run Smoke E2E Triggers smoke e2e on Bitrise labels Dec 4, 2024
Copy link
Contributor

github-actions bot commented Dec 4, 2024

https://bitrise.io/ Bitrise

✅✅✅ pr_smoke_e2e_pipeline passed on Bitrise! ✅✅✅

Commit hash: b598c65
Build link: https://app.bitrise.io/app/be69d4368ee7e86d/pipelines/7c0d2875-1a69-4619-b090-60857740c83a

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

@owencraston owencraston force-pushed the chore/accounts-monorepo-packages branch from cd7145c to 750312c Compare December 4, 2024 23:08
@owencraston owencraston added Run Smoke E2E Triggers smoke e2e on Bitrise and removed Run Smoke E2E Triggers smoke e2e on Bitrise labels Dec 4, 2024
Copy link
Contributor

github-actions bot commented Dec 4, 2024

https://bitrise.io/ Bitrise

✅✅✅ pr_smoke_e2e_pipeline passed on Bitrise! ✅✅✅

Commit hash: 750312c
Build link: https://app.bitrise.io/app/be69d4368ee7e86d/pipelines/e7d6dfba-1acc-4968-a8c7-ea35bc09490d

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

@owencraston owencraston marked this pull request as ready for review December 4, 2024 23:29
@owencraston owencraston requested review from a team as code owners December 4, 2024 23:29
tommasini
tommasini previously approved these changes Dec 5, 2024
package.json Outdated Show resolved Hide resolved
yarn.lock Outdated Show resolved Hide resolved
@owencraston owencraston force-pushed the chore/accounts-monorepo-packages branch from 750312c to 213f2c0 Compare December 5, 2024 18:07
@owencraston owencraston added Run Smoke E2E Triggers smoke e2e on Bitrise and removed Run Smoke E2E Triggers smoke e2e on Bitrise labels Dec 5, 2024
Copy link
Contributor

github-actions bot commented Dec 5, 2024

https://bitrise.io/ Bitrise

❌❌❌ pr_smoke_e2e_pipeline failed on Bitrise! ❌❌❌

Commit hash: 213f2c0
Build link: https://app.bitrise.io/app/be69d4368ee7e86d/pipelines/8778950b-92fc-459c-aeb0-6add97851b6e

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

Tip

  • Check the documentation if you have any doubts on how to understand the failure on bitrise

@owencraston owencraston force-pushed the chore/accounts-monorepo-packages branch from 213f2c0 to fb012cc Compare December 5, 2024 18:50
@owencraston owencraston added Run Smoke E2E Triggers smoke e2e on Bitrise and removed Run Smoke E2E Triggers smoke e2e on Bitrise labels Dec 5, 2024
Copy link
Contributor

github-actions bot commented Dec 5, 2024

https://bitrise.io/ Bitrise

✅✅✅ pr_smoke_e2e_pipeline passed on Bitrise! ✅✅✅

Commit hash: fb012cc
Build link: https://app.bitrise.io/app/be69d4368ee7e86d/pipelines/4791be78-d2d8-40ce-bcd0-dffaf9d076f6

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

Copy link

sonarqubecloud bot commented Dec 5, 2024

@owencraston owencraston added this pull request to the merge queue Dec 5, 2024
Merged via the queue into main with commit 011560f Dec 5, 2024
40 checks passed
@owencraston owencraston deleted the chore/accounts-monorepo-packages branch December 5, 2024 19:57
@github-actions github-actions bot locked and limited conversation to collaborators Dec 5, 2024
@metamaskbot metamaskbot added the release-7.38.0 Issue or pull request that will be included in release 7.38.0 label Dec 5, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
release-7.38.0 Issue or pull request that will be included in release 7.38.0 Run Smoke E2E Triggers smoke e2e on Bitrise team-accounts
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants