[BUG] Method Handler Crashed on Debug_* Method
Seid version
Show us output of seid version --long | head
./seid version --long | head
name: sei
server_name: <appd>
version: v5.5.5
go: go version go1.21.7 linux/amd64
Chain ID Sei Pacific - 1329
Describe the bug A clear and concise description of what the bug is.
--data '{"method": "debug_traceBlockByNumber", "params": ["0x504df6c", {"tracer": "callTracer"}], "id": 1, "jsonrpc": "2.0"}'
{
"jsonrpc": "2.0",
"id": 1,
"error": {
"code": -32603,
"message": "method handler crashed"
}
}
Here is block explorer: https://www.seiscan.app/pacific-1/blocks/84205420
I try another block that has traces and can return them:
--data '{"method":"debug_traceBlockByNumber","params":["0x504df6f", {"tracer": "callTracer"}],"id":1,"jsonrpc":"2.0"}'
Adding another block with this issue
https://www.seiscan.app/pacific-1/blocks/84204731
--data '{"method": "debug_traceBlockByNumber", "params": ["0x504DCBB", {"tracer": "callTracer"}], "id": 1, "jsonrpc": "2.0"}'
Thanks @yaanakbr @qk-santi this is fixed in https://github.com/sei-protocol/sei-chain/pull/1782 which will roll out soon
@philipsu522 we're not getting the method handler crashed anymore, now we're getting a diff error
"error": "invalid opcode: opcode 0x25 not defined",
Full output
{
"jsonrpc": "2.0",
"id": 1,
"result": [
{
"txHash": "0x76327a872da26db02887957b54ce8606fdb1b6e0fe06d251cae6c6ccf3594382",
"result": {
"from": "0xd81a0aea64c68c59046372d82d29f455189e1ee4",
"gas": "0x30d40",
"gasUsed": "0x30d40",
"input": "0x4a25d94a000000000000000000000000000000000000000000000000002386f26fc100000000000000000000000000000000000000000000000000000000000000000e6500000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000d81a0aea64c68c59046372d82d29f455189e1ee400000000000000000000000000000000000000000000000000000000667452c00000000000000000000000000000000000000000000000000000000000000002000000000000000000000000b75d0b03c06a926e488e2659df1a861f860bd3d1000000000000000000000000e30fedd158a2e3b13e9badaeabafc5516e95e8c7",
"error": "invalid opcode: opcode 0x25 not defined",
"value": "0x0",
"type": "CREATE"
}
}
]
}
Reproducible on both reported blocks:
-
0x504DCBB -
0x504df6c
Another block to add here:
curl <ENDPOINT>' -X POST -H "Content-Type: application/json" --data '{"method":"debug_traceBlockByNumber","params":["0x7283652", {"tracer":"callTracer","timeout":"300s"}], "id":1,"jsonrpc":"2.0"}' | jq
{
"jsonrpc": "2.0",
"id": 1,
"error": {
"code": -32603,
"message": "method handler crashed"
}
}
team! Is this issue still not resolved after merging PR #1782? as it has not been closed yet.
I was looking to contribute to the SeiNetwork, so if this is not resolved yet, I can take a stab at it. I tried making this cURL request but getting method does not exist with the EVM RPC mentioned in the Sei docs.
If this has already been resolved, may be we can close this issue? this will keep the repo clean.
This is resolved
curl -X POST $RPC -H "Content-Type: application/json" --data '{"method": "debug_traceBlockByNumber", "params": ["0x504df6c", {"tracer": "callTracer"}], "id": 1, "jsonrpc": "2.0"}'
{"jsonrpc":"2.0","id":1,"result":[{"txHash":"0x00bc65e0ae9a9e96b698bd28b7c5d33746e6b50633afd4e7d78137e76035c835","result":{"from":"0xd81a0aea64c68c59046372d82d29f455189e1ee4","gas":"0x30d40","gasUsed":"0x30d40","input":"0x4a25d94a000000000000000000000000000000000000000000000000002386f26fc100000000000000000000000000000000000000000000000000000000000000000e5100000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000d81a0aea64c68c59046372d82d29f455189e1ee400000000000000000000000000000000000000000000000000000000667453d80000000000000000000000000000000000000000000000000000000000000002000000000000000000000000b75d0b03c06a926e488e2659df1a861f860bd3d1000000000000000000000000e30fedd158a2e3b13e9badaeabafc5516e95e8c7","error":"invalid opcode: opcode 0x25 not defined","value":"0x0","type":"CREATE"}}]}
~```