bsc icon indicating copy to clipboard operation
bsc copied to clipboard

receiving "handle request error" while calling "debug_traceBlockByHash" or "debug_traceTransaction" with "callTracer"

Open avolkov-dev opened this issue 4 years ago • 3 comments

System information

Geth version: 1.1.5 / 1.1.7 OS & Version: Linux

Expected behaviour

Calling debug_traceBlockByHash for block 0x5116dfe55193488132f2c7fd88f726c8e313a4b6178ccc7503925d1319076599 should respond without error.

Actual behaviour

At 1.1.5 version node responds with

{
    "id": 1,
    "jsonrpc": "2.0",
    "error": {
        "code": -32603,
        "message": "handle request error"
    }
}

At 1.1.7 node crashes without any error in logs.

Steps to reproduce the behaviour

curl --location --request POST 'https://data-seed-prebsc-1-s1.binance.org:8545/' \
--header 'Content-Type: application/json' \
--data-raw '{"jsonrpc":"2.0", "method":"debug_traceBlockByHash", "params":["0x5116dfe55193488132f2c7fd88f726c8e313a4b6178ccc7503925d1319076599", {"tracer": "callTracer", "timeout": "30s" }], "id":1}'

Side note

Looks like this happens because of 0x11b6c5ed4f9a72d3c96a09308bd68e54be1c6bbc21ffdd11d88cc5e7a81764c8 transaction. Request

curl --location --request POST 'https://data-seed-prebsc-1-s1.binance.org:8545/' \
--header 'Content-Type: application/json' \
--data-raw '{"jsonrpc":"2.0", "method":"debug_traceTransaction", "params":["0x11b6c5ed4f9a72d3c96a09308bd68e54be1c6bbc21ffdd11d88cc5e7a81764c8", {"tracer": "callTracer" }], "id":1}'

fail with same handle request error error, but for all other transactions in block works fine. Another note: request without{"tracer": "callTracer" } responds correctly

avolkov-dev avatar Dec 29 '21 13:12 avolkov-dev

@avolkov-dev Thanks. We will look into this to confirm whether it is a bug or not.

forcodedancing avatar Dec 31 '21 06:12 forcodedancing

@forcodedancing Hi any updates on this?

KonstantinRyazantsev avatar Apr 26 '22 08:04 KonstantinRyazantsev

@forcodedancing Hi any updates on this?

We are working on that, will get back to you later. Thanks.

forcodedancing avatar Apr 27 '22 03:04 forcodedancing