-
Notifications
You must be signed in to change notification settings - Fork 68
Description
Describe the bug
Reconnecting a session from saved pairing topic causes issues with Web3App.request() eth_sendTransaction
To Reproduce
1- Connecting from trust wallet to my dApp
2- save pairing topic for reconnection in case of restarting app.
3-call Web3App.request(eth_sendTransaction..etc) with current session topic.
4- the request works and trust wallet prompts user to approve transaction.
5-Close app, start it up again
6- call Web3App.connect() with the pairing topic saved in step 2 => it succeeds
7- call Web3App.request same as in step 3, and receive the following error:
Pairing _onMessageEvent, Received data: {id: 1726420638420461, jsonrpc: 2.0, error: {code: 5300, message: Invalid Session Properties requested}}
printed as:
JsonRpcError(code: 5300, message: Invalid Session Properties requested)
Expected behavior
Expected to work same as first initial connection
Reproducible code
Screenshots
This is where the error happens upon reconnection.



Smartphone (please complete the following information):
Platform agnostic, doesnt matter which device i test on it allways does the explained issue
Additional context
Developing a dApp, testing with trust wallet and metamask, fuji testnet.