web-examples icon indicating copy to clipboard operation
web-examples copied to clipboard

Wallet's `session_event` emit throws with some chain combinations

Open bkrem opened this issue 2 years ago • 0 comments

Describe the bug Wallet's session_event emit throws with some chain combinations.

SDK Version (if relevant)

  • Client: Javascript
  • Version: 2.0.0-beta.100
  • Implementation: Wallet (https://react-wallet.walletconnect.com/)

To Reproduce Steps to reproduce the behavior:

  1. Go to https://react-app.walletconnect.com/
  2. Select e.g. Ethereum Kovan and Solana Devnet (this only seems to happen with some chains not with others)
  3. Pair on https://react-wallet.walletconnect.com/
  4. Go to Sessions view on the wallet
  5. Click "Emit" button
  6. Throws the error below:
{
    "code": 1000,
    "message": "Missing or invalid emit chainId"
}

Expected behavior To emit a session_event regardless of selected chains.

Screenshots

Screenshot 2022-05-31 at 13 41 27

bkrem avatar May 31 '22 11:05 bkrem