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

fix: do not sync imported accounts #4777

Merged
merged 1 commit into from
Oct 10, 2024

Conversation

mathieuartu
Copy link
Contributor

Explanation

This PR fixed an unintended behavior where we were syncing imported accounts.

References

https://consensyssoftware.atlassian.net/browse/NOTIFY-1215

Changelog

@metamask/profile-sync-controller

  • CHANGED: Account syncing will not sync imported accounts anymore

Checklist

  • I've updated the test suite for new or updated code as appropriate
  • I've updated documentation (JSDoc, Markdown, etc.) for new or updated code as appropriate
  • I've highlighted breaking changes using the "BREAKING" category above as appropriate
  • I've prepared draft pull requests for clients and consumer packages to resolve any breaking changes

@mathieuartu mathieuartu added the team-notifications Notification Team changes. https://github.com/orgs/MetaMask/teams/notifications label Oct 10, 2024
account.metadata.keyring.type === KeyringTypes.hd ||
account.metadata.keyring.type === KeyringTypes.simple
);
return account.metadata.keyring.type === KeyringTypes.hd;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So thaaats what .simple is lol.
OK so we are now POSITIVE this is only wallet accounts?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, learnt the hard way 😂
WE ARE! 🚀

@mathieuartu mathieuartu marked this pull request as ready for review October 10, 2024 07:56
@mathieuartu mathieuartu requested a review from a team as a code owner October 10, 2024 07:57
@mathieuartu mathieuartu merged commit 35144e7 into main Oct 10, 2024
117 checks passed
@mathieuartu mathieuartu deleted the fix/account_sync_imported_accounts branch October 10, 2024 07:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
team-notifications Notification Team changes. https://github.com/orgs/MetaMask/teams/notifications
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants