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

Some nodes might not support batch calls #16

Open
lacasian opened this issue May 28, 2020 · 0 comments
Open

Some nodes might not support batch calls #16

lacasian opened this issue May 28, 2020 · 0 comments

Comments

@lacasian
Copy link
Contributor

Network: besu running ibft on kaleido

This results in error and Memento is unable to scrape data:

❯ curl -X POST --data '[{"jsonrpc":"2.0","method":"eth_getBlockByNumber","params":["0x1d330",true],"id":"55104dc76695721d"}]' https://[redacted]:[redacted]@[redacted].de0-aws.kaleido.io

But this one works just fine:

❯ curl -X POST --data '{"jsonrpc":"2.0","method":"eth_getBlockByNumber","params":["0x1d330",true],"id":"55104dc76695721d"}' https://[redacted]:[redacted]@[redacted].de0-aws.kaleido.io

When running with batch calls, the node responds with:

"{\"jsonrpc\":\"2.0\",\"id\":null,\"error\":{\"code\":-32700,\"message\":\"Parse error\"}}"
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

1 participant