chore: enable batched account creation for Solana#28429
Conversation
…or Solana Bumps `@metamask/solana-wallet-snap` from `^2.7.4` to `^2.8.0` and enables `batched: true` in the Solana provider's `createAccounts` config so that `MultichainAccountService` can create multiple Solana accounts in a single request. BTC and TRX providers retain `batched: false`. Updates the corresponding unit tests to assert the batched flag per provider. Made-with: Cursor
🔍 Smart E2E Test Selection⏭️ Smart E2E selection skipped - draft PR All E2E tests pre-selected. |
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
|
All alerts resolved. Learn more about Socket for GitHub. This PR previously contained dependency changes with security issues that have been resolved, removed, or ignored. Ignoring alerts on:
|
|
@SocketSecurity ignore @metamask/solana-wallet-snap |
|
|
✅ E2E Fixture Validation — Schema is up to date |
|
https://github.com/SocketSecurity ignore @metamask/solana-wallet-snap@2.8.0 |
|
This is manually tested but I'm not adding the recordings since it exposes several seed phrases |
|
@SocketSecurity ignore npm/@metamask/solana-wallet-snap@2.8.0 This is our Snap. |



Description
Bumps
@metamask/solana-wallet-snapfrom^2.7.4to^2.8.0and enables batch account creation for the Solana provider.Changelog
CHANGELOG entry: null
Related issues
Fixes: https://consensyssoftware.atlassian.net/browse/MUL-1651
Manual testing steps
Screenshots/Recordings
Not applicable
Pre-merge author checklist
Pre-merge reviewer checklist
Made with Cursor
Note
Medium Risk
Changes multichain account creation behavior for the Solana provider (now batched), which could affect account discovery/creation flows; other providers remain unchanged. Also bumps the Solana snap dependency, introducing potential upstream behavior changes.
Overview
Enables batched account creation for Solana by passing a Solana-specific provider config (
createAccounts.batched: true) intoMultichainAccountServiceinitialization, while keeping BTC/TRX configs non-batched.Adds unit coverage asserting the per-provider
batchedflag, and bumps@metamask/solana-wallet-snapfrom^2.7.4to^2.8.0(lockfile updated accordingly).Reviewed by Cursor Bugbot for commit b04c4ac. Bugbot is set up for automated code reviews on this repo. Configure here.