Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
TechGeorgii opened this issue Apr 25, 2024 · 1 comment
Open
Labels
type: bug Something isn't working

Comments

@TechGeorgii
Copy link

TechGeorgii commented Apr 25, 2024

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.

@TechGeorgii TechGeorgii added the type: bug Something isn't working label Apr 25, 2024
Copy link

linear bot commented Apr 25, 2024

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant