WalletConnect / walletconnect-monorepo

WalletConnect Monorepo
Apache License 2.0
1.26k stars 626 forks source link

rpc.walletconnect error "method not supported eth_uninstallFilter" #4475

Open TechGeorgii opened 2 months ago

TechGeorgii commented 2 months ago

Describe the bug Sometimes I get error message in my dapp using viem method not supported eth_uninstallFilter when calling URL https://rpc.walletconnect.com/v1/?chainId=eip155:137&projectId=*************** (my project id) so the app crashes. I've investigated and it looks like rpc.walletconnect.com/ sometimes gives -32004 error.

SDK Version (if relevant) No

To Reproduce Steps to reproduce the behavior:

  1. Open Postman.

  2. Send request to https://rpc.walletconnect.com/v1/?chainId=eip155:137&projectId=*************** (use your project id) with the payload {"jsonrpc":"2.0","method":"eth_uninstallFilter","params": ["0x996f29fe3a5a4cb7eb8ee831b77e1ce7"],"id":1}

  3. Send it multiple times. I am getting error { "jsonrpc": "2.0", "id": 1, "error": { "code": -32004, "message": "method not supported eth_uninstallFilter" } }

Expected behavior Always result like this { "jsonrpc": "2.0", "id": 1, "result": false }

Screenshots Not applicable

Desktop (please complete the following information): Any OS, curl, Postman.

Smartphone (please complete the following information): Not applicable.

Additional context I guess it can be related to throttling (when I send this to JSON RPC too frequently), but the error msg must be obviously better.

linear[bot] commented 2 months ago

CR-19 rpc.walletconnect error "method not supported eth_uninstallFilter"