Skip to content

[Bug]: MultiChain API: only able to invoke Solana methods to a single Solana account when multiple Solana accounts are connected to dapp #32479

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

Open
chrisleewilcox opened this issue May 2, 2025 · 0 comments
Labels
needs-triage Issue needs to be triaged regression-beta-12.18.0 Regression bug that was found in beta in release 12.18.0 solana-beta solana-dapp-connectivity-v1 team-solana PRs from the Solana snap team type-bug Something isn't working

Comments

@chrisleewilcox
Copy link
Contributor

chrisleewilcox commented May 2, 2025

Describe the bug

Using beta build

Using the MultiChain test dapp with a wallet that has multiple Solana accounts connected, I am not able to signMessage for other Solana accounts in wallet connected to dapp, only the first Solana account or the most recent Solana account connected to dapp. Should invoke Solana method for the selected/active Solana account in the wallet, or allow user to change to other dapp connected accounts to invoke Solana method in the approve view.

Expected behavior

  • user should be able to signMessage for different Solana accounts connected to dapp

Screenshots/Recordings

https://www.loom.com/share/037d819627044d6abd1b594fa920833e?sid=ba08a71e-618b-4897-85e3-76d0d7f04911

https://www.loom.com/share/e7518dddec4a4cc18b0c373edefcc664?sid=7c0ddd54-0a55-4a2c-be22-ecf166610f4c

Steps to reproduce

Scenario: Solana signMessage for multiple accounts connected to dapp
    Given user has multiple Solana accounts in thier wallet
    And user has navigated to https://metamask.github.io/test-dapp-multichain/latest/
    When user connects multiple Solana accounts
    And user invokes "signMessage"
    Then user is prompted to sign the message with the current selected account in the wallet (Failed: only defaulting to the first Solana account)
    And user can switch selected account to account that is connected to the dapp (Failed: not supported)

Error messages or log output

Detection stage

In public beta

Version

12.18.0

Build type

Beta

Browser

Chrome

Operating system

MacOS

Hardware wallet

No response

Additional context

No response

Severity

No response

@chrisleewilcox chrisleewilcox added the type-bug Something isn't working label May 2, 2025
@github-project-automation github-project-automation bot moved this to To be fixed in Bugs by severity May 2, 2025
@github-project-automation github-project-automation bot moved this to To be triaged in Bugs by team May 2, 2025
@chrisleewilcox chrisleewilcox changed the title [Bug]: MultiChain API: only able to signMessage to the first Solana account when multiple Solana accounts are connected to dapp [Bug]: MultiChain API: only able to signMessage to a single Solana account when multiple Solana accounts are connected to dapp May 2, 2025
@metamaskbot metamaskbot added needs-triage Issue needs to be triaged regression-beta-12.18.0 Regression bug that was found in beta in release 12.18.0 labels May 2, 2025
@chrisleewilcox chrisleewilcox changed the title [Bug]: MultiChain API: only able to signMessage to a single Solana account when multiple Solana accounts are connected to dapp [Bug]: MultiChain API: only able to invoke Solana methods to a single Solana account when multiple Solana accounts are connected to dapp May 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs-triage Issue needs to be triaged regression-beta-12.18.0 Regression bug that was found in beta in release 12.18.0 solana-beta solana-dapp-connectivity-v1 team-solana PRs from the Solana snap team type-bug Something isn't working
Projects
Status: To be fixed
Status: To be triaged
Development

No branches or pull requests

2 participants