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

[BUG] Method Handler Crashed on Debug_* Method #1760

Open
yaanakbr opened this issue Jul 9, 2024 · 3 comments
Open

[BUG] Method Handler Crashed on Debug_* Method #1760

yaanakbr opened this issue Jul 9, 2024 · 3 comments
Assignees
Labels
bug Something isn't working linear Created by Linear-GitHub Sync

Comments

@yaanakbr
Copy link

yaanakbr commented Jul 9, 2024

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"}'
@yaanakbr yaanakbr added bug Something isn't working linear Created by Linear-GitHub Sync labels Jul 9, 2024
@qk-santi
Copy link

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"}'

@philipsu522
Copy link
Contributor

Thanks @yaanakbr @qk-santi this is fixed in #1782 which will roll out soon

@quick-pawiromitchel
Copy link

@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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working linear Created by Linear-GitHub Sync
Projects
None yet
Development

No branches or pull requests

5 participants