Skip to content

Support for debug_traceBlockByNumber in Anvil #9397

Closed as not planned
Closed as not planned
@cakevm

Description

Component

Anvil

Describe the feature you would like

Support the rpc call for debug_traceBlockByNumber and debug_traceBlockByHash in Anvil.

Request:

{
    "id": 4,
    "jsonrpc": "2.0",
    "method": "debug_traceBlockByNumber",
    "params": [
        "0x11b521d",
        {
            "tracer": "prestateTracer",
            "tracerConfig": {
                "diffMode": true,
                "disableCode": false,
                "disableStorage": false
            }
        }
    ]
}

Response currently:

{
    "error": {
        "code": -32601,
        "message": "Method not found"
    },
    "id": 4,
    "jsonrpc": "2.0"
}

Additional context

No response

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    • Status

      Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions