-
Notifications
You must be signed in to change notification settings - Fork 130
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 returns "method handler crashed" for certain blocks #282
Comments
Hi there @aaronbuchwald! I see that the issue has been closed, the response of the nodes has changed to the below:
Avalanchego Version: avalanche/1.10.7 [database=v1.4.5, rpcchainvm=27, commit=aa481ddce393fbb3ab957e4c8f87d5cd50b5eb4e] I am not quite sure that's what we should expect to get here, can you please take a look whenever you get the time? Any feedback is highly appreciated. Thanks a lot! |
Hey @tibineacsu95, This is to be expected! If we look at this transaction on snow trace we can see that the transaction failed due to stack underflow. In general, this JSON RPC call is successful since it returned a result instead of an error. The stack underflow error you see was the error from the transaction itself. Thanks and let me know if that addresses the issue. |
Hey @anusha-ctrl ! |
Signed-off-by: Gyuho Lee <gyuho.lee@avalabs.org> Signed-off-by: Gyuho Lee <gyuho.lee@avalabs.org>
Moving this issue from AvalancheGo, since this is caused by a bug in Coreth: ava-labs/avalanchego#1689
Hello,
We have been running multiple Avalanche Archive nodes (both mainnet and testnet) for quite some time but lately we've had some issues showing up.
For Mainnet:
Example RPC Call:
curl http://127.0.0.1:9650/ext/bc/C/rpc -X POST -H "Content-Type: application/json" --data '{"method":"debug_traceBlockByHash","params":["0xef836031411b2c15ef330ce28911aaf6de1995ccbdf45419fbfd4c43aa992a3e", {"tracer": "callTracer", "tracerConfig": {"onlyTopCall":false,"withLog":true}}],"id":1,"jsonrpc":"2.0"}'
Returns:
{"jsonrpc":"2.0","id":1,"error":{"code":-32603,"message":"method handler crashed"}}
For Testnet:
Example RPC Call:
curl https://127.0.0.1:9650/ext/bc/C/rpc -X POST -H "Content-Type: application/json" --data '{"method":"debug_traceBlockByHash","params":["0x260238a8b034c48d2b48f40c3a34587077aefc012a96abd026e116c594c0a688", {"tracer": "prestateTracer", "tracerConfig": {"onlyTopCall": false, "diffMode": true}}],"id":1,"jsonrpc":"2.0"}'
Returns:
{"jsonrpc":"2.0","id":1,"error":{"code":-32603,"message":"method handler crashed"}}
To give some context about the node setup environment, we are running the following binary version:
avalanche/1.10.3 [database=v1.4.5, rpcchainvm=26, commit=eb6e7973a900dc647d29a2da8e7a233ac0a5fe77]
and we have synced the nodes from scratch, given the fact that there were no official snapshots available at that time.We were wondering whether anyone else has seen this problem before or not. Any ideas would be highly appreciated. Thanks in advance!
The text was updated successfully, but these errors were encountered: