web-examples
web-examples copied to clipboard
Wallet's `session_event` emit throws with some chain combinations
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:
- Go to https://react-app.walletconnect.com/
- Select e.g. Ethereum Kovan and Solana Devnet (this only seems to happen with some chains not with others)
- Pair on https://react-wallet.walletconnect.com/
- Go to Sessions view on the wallet
- Click "Emit" button
- 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](https://user-images.githubusercontent.com/8663099/171165346-e00654e2-7e77-4d7d-9bfe-f4da7c33b8fd.png)