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

eth_sendRawTransaction and eth_getBalance keep repeating and failing #10

Open
nanjiangwill opened this issue Dec 16, 2022 · 2 comments
Open

Comments

@nanjiangwill
Copy link

An unexpected error occurred while executing "eth_sendRawTransaction" JSON-RPC method: Error: RPC request failed
    at RPC.<anonymous> (/home/ubuntu/.nvm/versions/node/v18.12.1/lib/node_modules/@lightclients/kevlar/node_modules/@lightclients/patronum/lib/rpc.js:93:19)
    at Generator.next (<anonymous>)
    at fulfilled (/home/ubuntu/.nvm/versions/node/v18.12.1/lib/node_modules/@lightclients/kevlar/node_modules/@lightclients/patronum/lib/rpc.js:28:58)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)

An unexpected error occurred while executing "eth_getBalance" JSON-RPC method: Error: RPC request failed
    at RPC.<anonymous> (/home/ubuntu/.nvm/versions/node/v18.12.1/lib/node_modules/@lightclients/kevlar/node_modules/@lightclients/patronum/lib/rpc.js:93:19)
    at Generator.next (<anonymous>)
    at fulfilled (/home/ubuntu/.nvm/versions/node/v18.12.1/lib/node_modules/@lightclients/kevlar/node_modules/@lightclients/patronum/lib/rpc.js:28:58)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)

these two errors keep showing up, my guess is that wallet will keep calling this rpc and rpc failed without sending error to wallet so that wallet will keep calling.

How to fix this issue? And how to reset?

@shresthagrawal
Copy link
Member

I am unable to replicate the issue. Can you give more details about your setup? Are you using a custom RPC endpoint?

@nanjiangwill
Copy link
Author

what I did is to
kevlar -p 3000 to start kevlar

and then add this to my network. I did two transactions on Curve and they are still pending while log in kevlar shows the errors above

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants