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

debug_traceBlockByHash failed for Astar evm tracing node #1313

Closed
wafeishushu opened this issue Aug 1, 2024 · 7 comments
Closed

debug_traceBlockByHash failed for Astar evm tracing node #1313

wafeishushu opened this issue Aug 1, 2024 · 7 comments

Comments

@wafeishushu
Copy link

I successfully run astar evm-tracing node. But i got error when doing debug API request.

curl --location 'http://localhost:8876' \
--header 'Content-Type: application/json' \
--data '{
    "method": "debug_traceBlockByHash",
    "params": [
        "0xbd8ac518ce5df74b4c6104df94d51f77104bb81c080d547797b88343f3b362da",
        {
            "tracer": "callTracer"
        }
    ],
    "id": 1,
    "jsonrpc": "2.0"
}'

{"jsonrpc":"2.0","error":{"code":-32603,"message":"Runtime api version call failed (trace)"},"id":1}

https://astar.blockscout.com/block/6724501

Is it possible that the latest runtime has not been added?
The latest one on my side is 91.wasm.

@Dinonard
Copy link
Member

Dinonard commented Aug 1, 2024

Please provide the info requested in the issue template.

What's the node version you are using?

@wafeishushu
Copy link
Author

wafeishushu commented Aug 1, 2024

Please provide the info requested in the issue template.

What's the node version you are using?

v5.42.2, astar mainnet, running evm-tracing node.

@Dinonard
Copy link
Member

Dinonard commented Aug 1, 2024

Do you have astar-90 in your wasm binary folder?

@wafeishushu
Copy link
Author

Do you have astar-90 in your wasm binary folder?

All history wasm files are inside the wasm folder, from 3 to 91. 90 is also in.
maybe you can try this request to your tracing node and check the response.

@Dinonard
Copy link
Member

Dinonard commented Aug 1, 2024

I just tried on our tracing node, it works fine.

Is your node synced?

@ermalkaleci
Copy link
Contributor

@Dinonard @wafeishushu I suppose this is resolved

@Dinonard
Copy link
Member

No additional info or response provided, assuming it's been resolved.

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

3 participants