Closed AlexandrosGounis closed 2 months ago
Hi @AlexandrosGounis, The issue was caused by our cleanup logic, which inadvertently led the signClient internal state to refer to an old or deleted pairing. With #760, we now clear the signClient internal state before removing the reference.
As a footnote, I was able to reproduce this error in our example dApp using the following steps:
Hi @AlexandrosGounis, We found multiple instances of failed subscriptions cleanup, which was the reason why you were receiving multiple times the same event. This should no longer be an issue in #764
The fix has been included in v4.2.2
Describe the bug (current behavior) Upon a user-initiated
disconnect
on the DApp side there areno matching key
errors in the console. This is evident on some DApp setups. After the first errors appear, theACTIVE_ACCOUNT_SET
event is emitted twice when account switching happens.To Reproduce
ACTIVE_ACCOUNT_SET
event is emitted twiceWe occasionally get rate limit warnings due to the amount of requests sent to the wallet (likely ≥ 3)
Rate limit warnings