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!(keyring-eth-ledger-bridge): change addAccounts to return new accounts only #63

Merged
merged 2 commits into from
Oct 1, 2024

Conversation

mikesposito
Copy link
Member

@mikesposito mikesposito commented Sep 27, 2024

The addAccounts method should return newly create accounts, instead of all the accounts present in the keyring.

Related: https://github.com/MetaMask/accounts-planning/issues/615

Examples

@mikesposito mikesposito requested a review from a team as a code owner September 27, 2024 11:42
Copy link
Member Author

Choose a reason for hiding this comment

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

Tests were passing regardless of the issue so even if we are not adding any new test case, they have been changed to also cover this behavior

@mikesposito mikesposito changed the title fix: addAccounts returns new accounts only fix: LedgerKeyring addAccounts returns new accounts only Sep 30, 2024
@mikesposito mikesposito changed the title fix: LedgerKeyring addAccounts returns new accounts only fix: Ledger addAccounts returns new accounts only Sep 30, 2024
@ccharly ccharly changed the title fix: Ledger addAccounts returns new accounts only fix(keyring-eth-ledger-bridge): make addAccounts return new accounts only Oct 1, 2024
@ccharly ccharly changed the title fix(keyring-eth-ledger-bridge): make addAccounts return new accounts only fix(keyring-eth-ledger-bridge): change addAccounts to return new accounts only Oct 1, 2024
@ccharly ccharly changed the title fix(keyring-eth-ledger-bridge): change addAccounts to return new accounts only fix!(keyring-eth-ledger-bridge): change addAccounts to return new accounts only Oct 1, 2024
@mikesposito mikesposito added this pull request to the merge queue Oct 1, 2024
Merged via the queue into main with commit 11c5890 Oct 1, 2024
24 checks passed
@mikesposito mikesposito deleted the mikesposito/add-accounts-ledger branch October 1, 2024 14:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants