Skip to content

Conversation

@toanalien
Copy link

Fix batch request from explorer L2

zkevm-explorer-l2        | 2024-01-25T11:27:28.506 application=indexer fetcher=block_catchup first_block_number=1 last_block_number=0 [error] ** (EthereumJSONRPC.DecodeError) Failed to decode Ethereum JSONRPC response:
zkevm-explorer-l2        | 
zkevm-explorer-l2        |   request:
zkevm-explorer-l2        | 
zkevm-explorer-l2        |     url: http://zkevm-explorer-json-rpc:8124
zkevm-explorer-l2        | 
zkevm-explorer-l2        |     body: [{"id":0,"jsonrpc":"2.0","method":"eth_getBlockByNumber","params":["0x1",true]},{"id":1,"jsonrpc":"2.0","method":"eth_getBlockByNumber","params":["0x0",true]}]
zkevm-explorer-l2        | 
zkevm-explorer-l2        |   response:
zkevm-explorer-l2        | 
zkevm-explorer-l2        |     status code: 400
zkevm-explorer-l2        | 
zkevm-explorer-l2        |     body: batch requests are disabled

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

Successfully merging this pull request may close these issues.

1 participant