wormhole-foundation / wormhole-connect

Wormhole Connect brings all the functionality and utility of Wormhole right into your application and removes all of the complexity.
https://connect-in-style.wormhole.com/
Other
78 stars 59 forks source link

[QA] Cannot connect wallet with "WalletConnect for Solana" #1508

Open tsadovska opened 8 months ago

tsadovska commented 8 months ago

Describe the current behavior in detail

Checked on https://wormhole-connect.netlify.app/ [Testnet] with macOS Sonoma 14.2.1, Google Chrome Version 120.0.6099.216 (Official Build) (arm64), iPhone 11 Pro iOS 16.5.1, Phantom app Version 23.19.0.

  1. Open wormhole-connect on computer
  2. Click "Connect wallet" and select "WalletConnect Solana" option
  3. Open Phantom app on mobile and scan QR Code
  4. Check if wallet is connected

Actual result: Wallet is not connect. QR Code is not valid.

IMG_3562

image

What is the expected/desired behavior

Wallet is successfully connected.

kev1n-peters commented 8 months ago

I get the invalid QR code error when using Phantom and Solflare on mobile. Spot wallet scans it, but then I get an error when trying to sign a TX:

index.es-65y4fMxF.js:27 {context: 'core'} {context: 'core/crypto'} Error: No matching key. keychain: 1bf01f0b87270dbfcd2eb1ffcc1e3f6ee8c3d2cb18179b53750e4495547fcf6b
    at Yu.get (index.es-65y4fMxF.js:40:38388)
    at Qu.getSymKey (index.es-65y4fMxF.js:40:41255)
    at Qu.decode (index.es-65y4fMxF.js:40:40475)
    at jn.<anonymous> (index.es-65y4fMxF.js:40:111848)
    at jn.emit (main.js:84:3305)
    at ff.onMessageEvent (index.es-65y4fMxF.js:40:60704)
    at async ff.onProviderPayload (index.es-65y4fMxF.js:40:60551)
(anonymous) @ index.es-65y4fMxF.js:27
(anonymous) @ index.es-65y4fMxF.js:27
(anonymous) @ index.es-65y4fMxF.js:27
Qu.decode @ index.es-65y4fMxF.js:40
await in Qu.decode (async)
(anonymous) @ index.es-65y4fMxF.js:40
jn.emit @ main.js:84
onMessageEvent @ index.es-65y4fMxF.js:40
await in onMessageEvent (async)
onProviderPayload @ index.es-65y4fMxF.js:40
await in onProviderPayload (async)
onPayloadHandler @ index.es-65y4fMxF.js:40
jn.emit @ main.js:84
onPayload @ index.es-65y4fMxF.js:40
(anonymous) @ index.es-65y4fMxF.js:40
jn.emit @ main.js:84
onPayload @ index.es-65y4fMxF.js:40
e.onmessage @ index.es-65y4fMxF.js:40
index.es-65y4fMxF.js:27 {context: 'client'} Error: Missing or invalid. Decoded payload on topic 1bf01f0b87270dbfcd2eb1ffcc1e3f6ee8c3d2cb18179b53750e4495547fcf6b is not identifiable as a JSON-RPC request or a response.
    at zf.onRelayEventUnknownPayload (index.es-65y4fMxF.js:40:99486)
    at jn.<anonymous> (index.es-65y4fMxF.js:40:112100)
(anonymous) @ index.es-65y4fMxF.js:27
(anonymous) @ index.es-65y4fMxF.js:27
(anonymous) @ index.es-65y4fMxF.js:40
await in (anonymous) (async)
jn.emit @ main.js:84
onMessageEvent @ index.es-65y4fMxF.js:40
await in onMessageEvent (async)
onProviderPayload @ index.es-65y4fMxF.js:40
await in onProviderPayload (async)
onPayloadHandler @ index.es-65y4fMxF.js:40
jn.emit @ main.js:84
onPayload @ index.es-65y4fMxF.js:40
(anonymous) @ index.es-65y4fMxF.js:40
jn.emit @ main.js:84
onPayload @ index.es-65y4fMxF.js:40
e.onmessage @ index.es-65y4fMxF.js:40
main.js:691 TransactionExpiredTimeoutError: Transaction was not confirmed in 60.00 seconds. It is unknown if it succeeded or failed. Check signature 4pXb12oZk7ysBWuxgEPkKaWoUgHd5aycDn75ZvX1yiEJauwt81AXRBJQAoXRE9BBS3Kf8Hx3kkkjKzZdLJbsLV9i using the Solana Explorer or CLI tools.
    at Connection$1.confirmTransactionUsingLegacyTimeoutStrategy (main.js:171:61281)
    at async Connection$1.confirmTransaction (main.js:171:56723)
    at async SolanaWallet.sendTransaction (main.js:517:300050)
    at async signSolanaTransaction (main.js:519:14303)
    at async signAndSendTransaction (main.js:519:15745)
    at async BridgeRoute.send (main.js:523:22384)
    at async Operator.send (main.js:525:79338)
    at async Object.gr [as onClick] (main.js:691:95817)
tsadovska commented 8 months ago

Issue is reproducible on https://wormhole-connect-mainnet.netlify.app/ [Mainnet] and https://preview.portal-bridge-ui.pages.dev/c0216a7edf/ [Mainnet] when scanning QR Code from Phantom app.

tsadovska commented 7 months ago

Issue is reproducible on https://preview.portal-bridge-ui.pages.dev/ac97e9d348/ [Mainnet] when scanning QR Code from Phantom app.

AigaD commented 7 months ago

Reproduced from: https://wormhole-connect-mainnet.netlify.app/ Cannot connect through Wallet Connect Solana with Phantom app, shows message that the QR code is not valid Linking to https://github.com/wormhole-foundation/wormhole-connect/issues/1607 Attachment:

IMG-0129

AigaD commented 7 months ago

Issue is reproduced from: https://preview.portalbridge.com/749d45da9e/# Cannot connect to Wallet Connect Solana through Phantom mobile app

AigaD commented 6 months ago

Tested from: https://portalbridge.com/ Cannot connect with WalletConnect Solana using Phantom mobile app Attachment:

90083

tsadovska commented 6 months ago

Issue is also reproducible on https://deploy-preview-1795--wormhole-connect-mainnet.netlify.app/ [Mainnet].

AigaD commented 5 months ago

Reproduced from: https://preview.portalbridge.com/8228d00809/# Cannot scan the QR code to Solana WalletConnect option, shows that the QR code is invalid Attachment:

17624

tsadovska commented 1 week ago

Reproducible on wormhole-connect-mainnet (Connect v2) when scanning QR Code in Phantom app.