-
Notifications
You must be signed in to change notification settings - Fork 107
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
[Bug] Potential Chain/Cluster bug when signing with Phantom/Solflare #958
Comments
a provided cluster should get converted to a valid chain identifier using the latest code. |
offline discussion, Mike pointed out that the repo is actaully using Still interesting tho, as the mobile-wallet-adapter/js/packages/mobile-wallet-adapter-protocol/src/createMobileWalletProxy.ts Line 77 in f204f27
|
Cloned the user's repo and tested out locally on newest version of Phantom and Solflare off Play Store. Phantom Solflare I tried changing the
Leads me to suspect there could be an issue with Solflare implementation starting at a certain version. Update:
|
@Michaelsulistio given that regular message signing works fine with Solflare, and this is only happening on on a The |
I am struggling to reproduce this in with any of our testing environments, using the latest version of Phantom from Google Play. Really tough one to track down. Phantom is indeed using a legacy version of MWA but both the native and React libraries are correctly converting the chain to the legacy cluster param. Signing is working with both Solflare and Phantom. I am not sure how to help here unfortunately!! ETA: tested with Solflare 1.47.3 and Phantom 24.20.0 |
Describe the bug
A discord user ran into an issue when trying to sign an Anchor transaction with Phantom and Solflare.
It works fine when trying to sign a message, only failing on transactions
To Reproduce
Have not been able to repro locally myself, but this is the repo of the user with the issue:
https://github.com/AlexScotte/SolanaButtonDapp/tree/main
Expected behavior
The wallet should successfully sign the transaction.
Screenshots
Smartphone (please complete the following information):
Additional context
The text was updated successfully, but these errors were encountered: