[Mobile Account Snaps] Migrate all accounts references to selectors #8482
Labels
INVALID-ISSUE-TEMPLATE
Issue's body doesn't match any issue template.
release-7.18.0
Issue or pull request that will be included in release 7.18.0
team-accounts
Currently the account information is derived from the preferences controller. In order to make this migration easier we should first migrate these references into isolated selectors that will serve as the API for accessing account information. These selectors will still use the preference controller as their source of truth.
Here are the newly added selectors on the extension.
References
Here are the relevant PRs on the extension
getSelectedInternalAccount
selector metamask-extension#21553getMetaMaskIdentities
withgetInternalAccounts
metamask-extension#21709The text was updated successfully, but these errors were encountered: