Persistent Pending Session Requests on the Dapp sid #264
Unanswered
hmendez-figure
asked this question in
Q&A
Replies: 1 comment 1 reply
-
Helo @hmendez-figure! Do you see this very same behavior when testing with WalletConnectFlutterV2's sample dApp and sample wallet? If so, do you mind sharing complete steps to reproduce the issue? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Our team is currently developing a wallet with this lib (thanks BTW) and we are also using this lib to create a dApp for developing/testing against.
I have noticed that from the dApp side, when creating a request, it is not persisted like it is on the Wallet side. Is this by design? I can't seem to find in WC specs website on what should or shouldn't be persisted...
FWIW I did some digging and calling
Web3.request()
callscore.pairing.sendRequest()
which eventually keeps track of pending dApp request in map in memory:Map<int, PendingRequestResponse> pendingRequests = {}
. So if I restart the dApp and then try to respond from Wallet on that pending request, the dApp ignores it.Any clarification would be great. Thanks!
Beta Was this translation helpful? Give feedback.
All reactions