Skip to content

Some nodes might not support batch calls #16

@lacasian

Description

@lacasian

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\"}}"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions