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

Erigon trace_filter 'method handler crashed bug' #12007

Closed
jwelch-qn opened this issue Sep 16, 2024 · 0 comments
Closed

Erigon trace_filter 'method handler crashed bug' #12007

jwelch-qn opened this issue Sep 16, 2024 · 0 comments
Labels
Milestone

Comments

@jwelch-qn
Copy link

System information

Erigon client version: erigon/2.60.7

OS & Version: Ubuntu 22.04

Environment: Polygon Amoy

Type of node: Archive

Overview of the problem

trace_filter calls returning -32001 error
{"jsonrpc":"2.0","id":1,"result":[null,"error":{"code":-32000,"message":"method handler crashed"}}

Reproduction Steps

Reproduceable with:

'{                                                      
  "jsonrpc": "2.0",
  "method": "trace_filter",
  "params": [
    {
      "fromBlock": "0x62cddf",
      "toBlock": "0x62cddf",
      "toAddress": ["0x4FF17ED8CEE725c8b30F63D403565dCe54c915Eb"],
      "types": ["call"]
    }
  ],
  "id": 1
}'

Logs / Traces / Output / Error Messages

{"jsonrpc":"2.0","id":1,"result":[null,"error":{"code":-32000,"message":"method handler crashed"}}

@VBulikov VBulikov added this to the 2.60.9-fixes milestone Oct 4, 2024
AskAlexSharov pushed a commit that referenced this issue Oct 15, 2024
`ComputeTxEnv` relied on `txIndex < len(block.Transactions())` which is
violated by Polygon's state sync event transaction. We handle this case
by adding an early return for this case, returning only ibs and
blockContext which is used during state sync event tracing.

Fixes #11701, #12007
yperbasis pushed a commit that referenced this issue Oct 24, 2024
`ComputeTxEnv` relied on `txIndex < len(block.Transactions())` which is
violated by Polygon's state sync event transaction. We handle this case
by adding an early return for this case, returning only ibs and
blockContext which is used during state sync event tracing.

Fixes #11701, #12007
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants