Skip to content

Issue with eth_call requests because of "--rpc.gascap=0" flag #14632

Open
@prostghost

Description

@prostghost

System information

Erigon version:
for bsc ghcr.io/node-real/bsc-erigon:v1.3.6
for polygon v3.0.0/v3.0.1

OS & Version: Linux

Chain/Network: bsc mainnet/ polygon mainnet

Example of request for bsc:

{
"jsonrpc": "2.0",
"method": "eth_call",
"params": [
{
"to": "0x8060FC664b6f984aD85bd95Ad159fe5038F3e5b0",
"data": "0x70a08231000000000000000000000000E6fA98e0524fe2f0dA65dE3f6868e2D1f79471fE"
},
"0x128FB44"
],
"id": 1
}

Expected behaviour

Without --rpc.gascap=0 - {"jsonrpc":"2.0","id":1,"result":"0x0000000000000000000000000000000000000000000001f6b098d26f7b9229c1"}

Actual behaviour

With --rpc.gascap=0 - Timeout awaiting 'request' for 120000ms

Also polygon nodes return the same error as bsc nodes

Steps to reproduce the behaviour

Use flag --rpc.gascap=0

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