Skip to content

feat: add :createMultichainAccountGroups action to batch account creation #7801

Draft
ccharly wants to merge 11 commits intohm/bip-44-perf-and-devx-improvementsfrom
cc/feat/snap-keyring-createAccounts
Draft

feat: add :createMultichainAccountGroups action to batch account creation #7801
ccharly wants to merge 11 commits intohm/bip-44-perf-and-devx-improvementsfrom
cc/feat/snap-keyring-createAccounts

Conversation

@ccharly
Copy link
Contributor

@ccharly ccharly commented Feb 2, 2026

Explanation

TODO

References

N/A

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 communicated my changes to consumers by updating changelogs for packages I've changed
  • I've introduced breaking changes in this PR and have prepared draft pull requests for clients and consumer packages to resolve them

Comment on lines +230 to +233
const account = this.messenger.call(
'AccountsController:getAccount',
accountId,
);
Copy link
Contributor

Choose a reason for hiding this comment

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

I think we can avoid these n number of controller calls. We can push the accountId into an array and just call AccountsController:getAccounts after the loop is finished and then do the assertions looping through the returned array.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yup that's right, I forgot about the new :getAccounts 🙈 thanks!

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