Skip to content

"disableCode": true is not respected in prestateTracer on Reth node #132

@ella-quicknode

Description

@ella-quicknode

Reth node image: ghcr.io/base/node-reth:v0.12.9
Network: Base Sepolia

To repro:

curl  -X POST \
  'http://localhost:8545' \
  --header 'Content-Type: application/json' \
  --data-raw '{
  "jsonrpc": "2.0",
  "method": "debug_traceBlockByNumber",
  "params": [
    "0x1eac3bb",
    {
      "tracer": "prestateTracer",
      "tracerConfig": {
        "diffMode": true,
        "disableCode": true,
        "disableStorage": true
      },
      "reexec": 30000,
      "timeout": "5m"
    }
  ],
  "id": 0
}'

in the response it contains code.

{
  "jsonrpc": "2.0",
  "id": 0,
  "result": [
    {
      "result": {
        "post": {
          "0x4200000000000000000000000000000000000015": {
            "code": "0x60806040526004361061005e5760003560e01c80635c60da1b116100435780635c60da1b146100be5780638f283970146100f8578063f851a440146101185761006d565b80633659cfe6146100755780634f1ef286146100955761006d565b3661006d5761006b61012d565b005b61006b61012d565b34801

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions