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

turbo/jsonrpc: add support for bor state sync event tx tracing in debug API #9267

Merged
merged 25 commits into from
Jan 22, 2024

Conversation

taratorio
Copy link
Contributor

@taratorio taratorio commented Jan 18, 2024

Relates to #7504.

With this change Erigon will support correct behaviour for tracing bor state sync event tx-es in the Debug API.

High-level changes:

  • use blockReader.EventLookup to determine if a transaction hash is a bor state sync txn
  • use blockReader.EventsByBlock to fetch state sync events from the db/snapshots and execute these correctly using the state receiver smart contract with tracing
  • introduced a new simple borStateSyncTxnTracer which wraps around user specified tracers in order to properly handle the fact that each state sync event is executed as if it was a separate sub-call of the bor state sync synthetic transaction but we have no way to execute it like this so need to "trick" the tracers
  • refactor and tidy up existing tracing code to have better separation for handling bor state sync txn vs normal txns
  • fixes a rare scenario bug in txnByHash func - if a transaction does not exist in the snapshots (seg files) but we've encountered another tx in the loop for which the "first byte txnHash check" (check logic) passes then the function will incorrectly return the tx with the matching first byte instead of returning "no transaction found". I run into this by chance while working on this PR

Tests:

In addition to the below I've tested behaviour with multiple tracers - callTracer, 4byteTracer, prestateTracer, default tracer, bigramTracer, etc. and with traceBlock endpoints in the Debug API however I've omitted listing the responses here as the PR description gets quite big. I've also tested with normal transactions that are not state sync synthetic ones.

Request with bor tracing disabled - "borTraceEnabled: false"

curl http://localhost:9545/ \
-X POST \
-H "Content-Type: application/json" \
--data '{
  "jsonrpc": "2.0",
  "id": 0,
  "method": "debug_traceTransaction",
  "params": [
    "0xd2b8d76bb5e9b7ab24aa25e8fbe56e28a333587bb7df9311448c3cac103d8558",
    {
      "tracer": "callTracer",
      "borTraceEnabled": false
    }
  ]
}' | jq


{
  "jsonrpc": "2.0",
  "id": 0,
  "result": []
}

Request with bor tracing enabled - "borTraceEnabled: true"

curl http://localhost:9545/ \
-X POST \
-H "Content-Type: application/json" \
--data '{
  "jsonrpc": "2.0",
  "id": 0,
  "method": "debug_traceTransaction",
  "params": [
    "0xd2b8d76bb5e9b7ab24aa25e8fbe56e28a333587bb7df9311448c3cac103d8558",
    {
      "tracer": "callTracer",
      "borTraceEnabled": true
    }
  ]
}' | jq


{
  "jsonrpc": "2.0",
  "id": 0,
  "result": {
    "from": "0x0000000000000000000000000000000000000000",
    "gas": "0x0",
    "gasUsed": "0x0",
    "to": "0x0000000000000000000000000000000000001001",
    "input": "0x",
    "calls": [
      {
        "from": "0xfffffffffffffffffffffffffffffffffffffffe",
        "gas": "0x1c962d0",
        "gasUsed": "0x102de",
        "to": "0x0000000000000000000000000000000000001001",
        "input": "0x19494a170000000000000000000000000000000000000000000000000000000062bd557500000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000147f9014483215cab94a6fa4fb5f76172d178d61b04b0ecd319c5d1c0aab9010087a7811f4bfedea3d341ad165680ae306b01aaeacc205d227629cf157dd9f821000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000dcbeac120c51030a911a93895f7b431e5952cee6000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee00000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000001550f7dca70000a00ce8ccdb67a7cfd5421bfb4438e2dc1fa7d2321161fadf4e5f3fe9bb0bb3ba5882011e8331333700000000000000000000000000000000000000000000000000",
        "output": "0x0000000000000000000000000000000000000000000000000000000000000001",
        "calls": [
          {
            "from": "0x0000000000000000000000000000000000001001",
            "gas": "0x4c4b40",
            "gasUsed": "0xb9d0",
            "to": "0xa6fa4fb5f76172d178d61b04b0ecd319c5d1c0aa",
            "input": "0x26c53bea0000000000000000000000000000000000000000000000000000000000215cab0000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000010087a7811f4bfedea3d341ad165680ae306b01aaeacc205d227629cf157dd9f821000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000dcbeac120c51030a911a93895f7b431e5952cee6000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee00000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000001550f7dca70000",
            "calls": [
              {
                "from": "0xa6fa4fb5f76172d178d61b04b0ecd319c5d1c0aa",
                "gas": "0x4b0577",
                "gasUsed": "0xa4ad",
                "to": "0xa40fc0782bee28dd2cf8cb4ac2ecdb05c537f1b5",
                "input": "0x26c53bea0000000000000000000000000000000000000000000000000000000000215cab0000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000010087a7811f4bfedea3d341ad165680ae306b01aaeacc205d227629cf157dd9f821000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000dcbeac120c51030a911a93895f7b431e5952cee6000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee00000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000001550f7dca70000",
                "calls": [
                  {
                    "from": "0xa6fa4fb5f76172d178d61b04b0ecd319c5d1c0aa",
                    "gas": "0x49b56c",
                    "gasUsed": "0x7fd0",
                    "to": "0x7ceb23fd6bc0add59e62ac25578270cff1b9f619",
                    "input": "0xcf2c52cb000000000000000000000000dcbeac120c51030a911a93895f7b431e5952cee600000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000001550f7dca70000",
                    "value": "0x0",
                    "type": "CALL"
                  }
                ],
                "type": "DELEGATECALL"
              }
            ],
            "value": "0x0",
            "type": "CALL"
          }
        ],
        "value": "0x0",
        "type": "CALL"
      },
      {
        "from": "0xfffffffffffffffffffffffffffffffffffffffe",
        "gas": "0x1c962d0",
        "gasUsed": "0x102de",
        "to": "0x0000000000000000000000000000000000001001",
        "input": "0x19494a170000000000000000000000000000000000000000000000000000000062bd557500000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000147f9014483215cac94a6fa4fb5f76172d178d61b04b0ecd319c5d1c0aab9010087a7811f4bfedea3d341ad165680ae306b01aaeacc205d227629cf157dd9f821000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000001b02ada9a41d8541441730ee43ea7d0effccaad9000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee00000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000002386f26fc10000a0c3a451b6d6cc319dcd797ac05887692fe44d63dc38b6322e563a3337fe6f305f82014a8331333700000000000000000000000000000000000000000000000000",
        "output": "0x0000000000000000000000000000000000000000000000000000000000000001",
        "calls": [
          {
            "from": "0x0000000000000000000000000000000000001001",
            "gas": "0x4c4b40",
            "gasUsed": "0xb9d0",
            "to": "0xa6fa4fb5f76172d178d61b04b0ecd319c5d1c0aa",
            "input": "0x26c53bea0000000000000000000000000000000000000000000000000000000000215cac0000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000010087a7811f4bfedea3d341ad165680ae306b01aaeacc205d227629cf157dd9f821000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000001b02ada9a41d8541441730ee43ea7d0effccaad9000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee00000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000002386f26fc10000",
            "calls": [
              {
                "from": "0xa6fa4fb5f76172d178d61b04b0ecd319c5d1c0aa",
                "gas": "0x4b0577",
                "gasUsed": "0xa4ad",
                "to": "0xa40fc0782bee28dd2cf8cb4ac2ecdb05c537f1b5",
                "input": "0x26c53bea0000000000000000000000000000000000000000000000000000000000215cac0000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000010087a7811f4bfedea3d341ad165680ae306b01aaeacc205d227629cf157dd9f821000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000001b02ada9a41d8541441730ee43ea7d0effccaad9000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee00000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000002386f26fc10000",
                "calls": [
                  {
                    "from": "0xa6fa4fb5f76172d178d61b04b0ecd319c5d1c0aa",
                    "gas": "0x49b56c",
                    "gasUsed": "0x7fd0",
                    "to": "0x7ceb23fd6bc0add59e62ac25578270cff1b9f619",
                    "input": "0xcf2c52cb0000000000000000000000001b02ada9a41d8541441730ee43ea7d0effccaad900000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000002386f26fc10000",
                    "value": "0x0",
                    "type": "CALL"
                  }
                ],
                "type": "DELEGATECALL"
              }
            ],
            "value": "0x0",
            "type": "CALL"
          }
        ],
        "value": "0x0",
        "type": "CALL"
      },
      {
        "from": "0xfffffffffffffffffffffffffffffffffffffffe",
        "gas": "0x1c962b4",
        "gasUsed": "0x1dc19",
        "to": "0x0000000000000000000000000000000000001001",
        "input": "0x19494a170000000000000000000000000000000000000000000000000000000062bd557500000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000185f9018283215cad948397259c983751daf40400790063935a11afa28ab9014000000000000000000000000003c545163bd114d756c65dda1d97d37b89da2236000000000000000000000000cd1c7c85113b16a5b9e09576112d162281b5f860000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000931eb9d2e9b0e496aac1dcdf778399ad762e3739000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000e3000000000000000000000000000000000000000000000000000000000000007700000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000000a0c346dbd1115e4a8a70c678e2dfad37318035a5f36d5bad652a985d1b3e90dd006483313337000000000000000000000000000000000000000000000000000000",
        "output": "0x0000000000000000000000000000000000000000000000000000000000000001",
        "calls": [
          {
            "from": "0x0000000000000000000000000000000000001001",
            "gas": "0x4c4b40",
            "gasUsed": "0x191db",
            "to": "0x8397259c983751daf40400790063935a11afa28a",
            "input": "0x26c53bea0000000000000000000000000000000000000000000000000000000000215cad0000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000014000000000000000000000000003c545163bd114d756c65dda1d97d37b89da2236000000000000000000000000cd1c7c85113b16a5b9e09576112d162281b5f860000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000931eb9d2e9b0e496aac1dcdf778399ad762e3739000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000e3000000000000000000000000000000000000000000000000000000000000007700000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000000",
            "calls": [
              {
                "from": "0x8397259c983751daf40400790063935a11afa28a",
                "gas": "0x4af990",
                "gasUsed": "0x1709f",
                "to": "0xcd1c7c85113b16a5b9e09576112d162281b5f860",
                "input": "0x9a7c4b710000000000000000000000000000000000000000000000000000000000215cad00000000000000000000000003c545163bd114d756c65dda1d97d37b89da2236000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000931eb9d2e9b0e496aac1dcdf778399ad762e3739000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000e3000000000000000000000000000000000000000000000000000000000000007700000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000000",
                "calls": [
                  {
                    "from": "0xcd1c7c85113b16a5b9e09576112d162281b5f860",
                    "gas": "0x49ac26",
                    "gasUsed": "0x57a1",
                    "to": "0x9d305a42a3975ee4c1c57555bed5919889dce63f",
                    "input": "0x55064d85000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000e30000000000000000000000000000000000000000000000000000000000000077",
                    "output": "0x0000000000000000000000000000000000000000000000000000000000000000",
                    "calls": [
                      {
                        "from": "0x9d305a42a3975ee4c1c57555bed5919889dce63f",
                        "gas": "0x4869fe",
                        "gasUsed": "0x3b90",
                        "to": "0x16f78d75fabb869835236b5fb59c2b29f6cbbfcf",
                        "input": "0x55064d85000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000e30000000000000000000000000000000000000000000000000000000000000077",
                        "output": "0x0000000000000000000000000000000000000000000000000000000000000000",
                        "type": "DELEGATECALL"
                      }
                    ],
                    "type": "STATICCALL"
                  },
                  {
                    "from": "0xcd1c7c85113b16a5b9e09576112d162281b5f860",
                    "gas": "0x49526d",
                    "gasUsed": "0xe82a",
                    "to": "0x9d305a42a3975ee4c1c57555bed5919889dce63f",
                    "input": "0x6e1e3bbf000000000000000000000000931eb9d2e9b0e496aac1dcdf778399ad762e3739000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000e3000000000000000000000000000000000000000000000000000000000000007700000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000000",
                    "calls": [
                      {
                        "from": "0x9d305a42a3975ee4c1c57555bed5919889dce63f",
                        "gas": "0x482a83",
                        "gasUsed": "0xe559",
                        "to": "0x16f78d75fabb869835236b5fb59c2b29f6cbbfcf",
                        "input": "0x6e1e3bbf000000000000000000000000931eb9d2e9b0e496aac1dcdf778399ad762e3739000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000e3000000000000000000000000000000000000000000000000000000000000007700000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000000",
                        "type": "DELEGATECALL"
                      }
                    ],
                    "value": "0x0",
                    "type": "CALL"
                  }
                ],
                "value": "0x0",
                "type": "CALL"
              }
            ],
            "value": "0x0",
            "type": "CALL"
          }
        ],
        "value": "0x0",
        "type": "CALL"
      },
      {
        "from": "0xfffffffffffffffffffffffffffffffffffffffe",
        "gas": "0x1c962b4",
        "gasUsed": "0x26f18",
        "to": "0x0000000000000000000000000000000000001001",
        "input": "0x19494a170000000000000000000000000000000000000000000000000000000062bd557500000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000185f9018283215cae948397259c983751daf40400790063935a11afa28ab9014000000000000000000000000003c545163bd114d756c65dda1d97d37b89da2236000000000000000000000000cd1c7c85113b16a5b9e09576112d162281b5f860000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000931eb9d2e9b0e496aac1dcdf778399ad762e373900000000000000000000000000000000000000000000000000000000000000030000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000007500000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000000a0c346dbd1115e4a8a70c678e2dfad37318035a5f36d5bad652a985d1b3e90dd006683313337000000000000000000000000000000000000000000000000000000",
        "output": "0x0000000000000000000000000000000000000000000000000000000000000001",
        "calls": [
          {
            "from": "0x0000000000000000000000000000000000001001",
            "gas": "0x4c4b40",
            "gasUsed": "0x224da",
            "to": "0x8397259c983751daf40400790063935a11afa28a",
            "input": "0x26c53bea0000000000000000000000000000000000000000000000000000000000215cae0000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000014000000000000000000000000003c545163bd114d756c65dda1d97d37b89da2236000000000000000000000000cd1c7c85113b16a5b9e09576112d162281b5f860000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000931eb9d2e9b0e496aac1dcdf778399ad762e373900000000000000000000000000000000000000000000000000000000000000030000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000007500000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000000",
            "calls": [
              {
                "from": "0x8397259c983751daf40400790063935a11afa28a",
                "gas": "0x4af990",
                "gasUsed": "0x2039e",
                "to": "0xcd1c7c85113b16a5b9e09576112d162281b5f860",
                "input": "0x9a7c4b710000000000000000000000000000000000000000000000000000000000215cae00000000000000000000000003c545163bd114d756c65dda1d97d37b89da2236000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000931eb9d2e9b0e496aac1dcdf778399ad762e373900000000000000000000000000000000000000000000000000000000000000030000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000007500000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000000",
                "calls": [
                  {
                    "from": "0xcd1c7c85113b16a5b9e09576112d162281b5f860",
                    "gas": "0x49ac26",
                    "gasUsed": "0xb67a",
                    "to": "0x9d305a42a3975ee4c1c57555bed5919889dce63f",
                    "input": "0x55064d85000000000000000000000000000000000000000000000000000000000000000300000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000075",
                    "output": "0x0000000000000000000000000000000000000000000000000000000000000000",
                    "calls": [
                      {
                        "from": "0x9d305a42a3975ee4c1c57555bed5919889dce63f",
                        "gas": "0x4869fe",
                        "gasUsed": "0x9a69",
                        "to": "0x16f78d75fabb869835236b5fb59c2b29f6cbbfcf",
                        "input": "0x55064d85000000000000000000000000000000000000000000000000000000000000000300000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000075",
                        "output": "0x0000000000000000000000000000000000000000000000000000000000000000",
                        "type": "DELEGATECALL"
                      }
                    ],
                    "type": "STATICCALL"
                  },
                  {
                    "from": "0xcd1c7c85113b16a5b9e09576112d162281b5f860",
                    "gas": "0x48f50f",
                    "gasUsed": "0x11c50",
                    "to": "0x9d305a42a3975ee4c1c57555bed5919889dce63f",
                    "input": "0x6e1e3bbf000000000000000000000000931eb9d2e9b0e496aac1dcdf778399ad762e373900000000000000000000000000000000000000000000000000000000000000030000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000007500000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000000",
                    "calls": [
                      {
                        "from": "0x9d305a42a3975ee4c1c57555bed5919889dce63f",
                        "gas": "0x47ce9b",
                        "gasUsed": "0x1197f",
                        "to": "0x16f78d75fabb869835236b5fb59c2b29f6cbbfcf",
                        "input": "0x6e1e3bbf000000000000000000000000931eb9d2e9b0e496aac1dcdf778399ad762e373900000000000000000000000000000000000000000000000000000000000000030000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000007500000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000000",
                        "type": "DELEGATECALL"
                      }
                    ],
                    "value": "0x0",
                    "type": "CALL"
                  }
                ],
                "value": "0x0",
                "type": "CALL"
              }
            ],
            "value": "0x0",
            "type": "CALL"
          }
        ],
        "value": "0x0",
        "type": "CALL"
      },
      {
        "from": "0xfffffffffffffffffffffffffffffffffffffffe",
        "gas": "0x1c962dc",
        "gasUsed": "0xc012",
        "to": "0x0000000000000000000000000000000000001001",
        "input": "0x19494a170000000000000000000000000000000000000000000000000000000062bd557500000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000146f9014383215caf94a6fa4fb5f76172d178d61b04b0ecd319c5d1c0aab9010087a7811f4bfedea3d341ad165680ae306b01aaeacc205d227629cf157dd9f821000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000d649ec9b9acea96876909054219c2fdaa00742f8000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000021c0331d5dc000a0349272f2c8d6c53608b75ffb00e2bc792c1c4f6d4b2c9604942d58f1b4e5db6781e8833133370000000000000000000000000000000000000000000000000000",
        "output": "0x0000000000000000000000000000000000000000000000000000000000000001",
        "calls": [
          {
            "from": "0x0000000000000000000000000000000000001001",
            "gas": "0x4c4b40",
            "gasUsed": "0x7704",
            "to": "0xa6fa4fb5f76172d178d61b04b0ecd319c5d1c0aa",
            "input": "0x26c53bea0000000000000000000000000000000000000000000000000000000000215caf0000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000010087a7811f4bfedea3d341ad165680ae306b01aaeacc205d227629cf157dd9f821000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000d649ec9b9acea96876909054219c2fdaa00742f8000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000021c0331d5dc000",
            "calls": [
              {
                "from": "0xa6fa4fb5f76172d178d61b04b0ecd319c5d1c0aa",
                "gas": "0x4b0577",
                "gasUsed": "0x61e1",
                "to": "0xa40fc0782bee28dd2cf8cb4ac2ecdb05c537f1b5",
                "input": "0x26c53bea0000000000000000000000000000000000000000000000000000000000215caf0000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000010087a7811f4bfedea3d341ad165680ae306b01aaeacc205d227629cf157dd9f821000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000d649ec9b9acea96876909054219c2fdaa00742f8000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000021c0331d5dc000",
                "calls": [
                  {
                    "from": "0xa6fa4fb5f76172d178d61b04b0ecd319c5d1c0aa",
                    "gas": "0x49b56c",
                    "gasUsed": "0x3d04",
                    "to": "0x7ceb23fd6bc0add59e62ac25578270cff1b9f619",
                    "input": "0xcf2c52cb000000000000000000000000d649ec9b9acea96876909054219c2fdaa00742f8000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000021c0331d5dc000",
                    "value": "0x0",
                    "type": "CALL"
                  }
                ],
                "type": "DELEGATECALL"
              }
            ],
            "value": "0x0",
            "type": "CALL"
          }
        ],
        "value": "0x0",
        "type": "CALL"
      },
      {
        "from": "0xfffffffffffffffffffffffffffffffffffffffe",
        "gas": "0x1c962d0",
        "gasUsed": "0x102de",
        "to": "0x0000000000000000000000000000000000001001",
        "input": "0x19494a170000000000000000000000000000000000000000000000000000000062bd557500000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000147f9014483215cb094a6fa4fb5f76172d178d61b04b0ecd319c5d1c0aab9010087a7811f4bfedea3d341ad165680ae306b01aaeacc205d227629cf157dd9f821000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000001dafb2f175e729aa49eaa0d229676b32f548d176000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000429d069189e0000a09f94436b9b34a033851b1bad2357adbf6c8800c2e71336f927559bee95c17a858201b48331333700000000000000000000000000000000000000000000000000",
        "output": "0x0000000000000000000000000000000000000000000000000000000000000001",
        "calls": [
          {
            "from": "0x0000000000000000000000000000000000001001",
            "gas": "0x4c4b40",
            "gasUsed": "0xb9d0",
            "to": "0xa6fa4fb5f76172d178d61b04b0ecd319c5d1c0aa",
            "input": "0x26c53bea0000000000000000000000000000000000000000000000000000000000215cb00000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000010087a7811f4bfedea3d341ad165680ae306b01aaeacc205d227629cf157dd9f821000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000001dafb2f175e729aa49eaa0d229676b32f548d176000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000429d069189e0000",
            "calls": [
              {
                "from": "0xa6fa4fb5f76172d178d61b04b0ecd319c5d1c0aa",
                "gas": "0x4b0577",
                "gasUsed": "0xa4ad",
                "to": "0xa40fc0782bee28dd2cf8cb4ac2ecdb05c537f1b5",
                "input": "0x26c53bea0000000000000000000000000000000000000000000000000000000000215cb00000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000010087a7811f4bfedea3d341ad165680ae306b01aaeacc205d227629cf157dd9f821000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000001dafb2f175e729aa49eaa0d229676b32f548d176000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000429d069189e0000",
                "calls": [
                  {
                    "from": "0xa6fa4fb5f76172d178d61b04b0ecd319c5d1c0aa",
                    "gas": "0x49b56c",
                    "gasUsed": "0x7fd0",
                    "to": "0x7ceb23fd6bc0add59e62ac25578270cff1b9f619",
                    "input": "0xcf2c52cb0000000000000000000000001dafb2f175e729aa49eaa0d229676b32f548d176000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000429d069189e0000",
                    "value": "0x0",
                    "type": "CALL"
                  }
                ],
                "type": "DELEGATECALL"
              }
            ],
            "value": "0x0",
            "type": "CALL"
          }
        ],
        "value": "0x0",
        "type": "CALL"
      },
      {
        "from": "0xfffffffffffffffffffffffffffffffffffffffe",
        "gas": "0x1c962dc",
        "gasUsed": "0xbfac",
        "to": "0x0000000000000000000000000000000000001001",
        "input": "0x19494a170000000000000000000000000000000000000000000000000000000062bd557500000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000145f9014283215cb194a6fa4fb5f76172d178d61b04b0ecd319c5d1c0aab9010087a7811f4bfedea3d341ad165680ae306b01aaeacc205d227629cf157dd9f821000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000b3126d09ebf9b5de9eaf9937bfc3e5dcececa856000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000001f4eec0c1548000a0a66e30b0161aad6d238da536d64e9619007fb26a5391c4244503efa53337ef6d0d83313337000000000000000000000000000000000000000000000000000000",
        "output": "0x0000000000000000000000000000000000000000000000000000000000000001",
        "calls": [
          {
            "from": "0x0000000000000000000000000000000000001001",
            "gas": "0x4c4b40",
            "gasUsed": "0x7704",
            "to": "0xa6fa4fb5f76172d178d61b04b0ecd319c5d1c0aa",
            "input": "0x26c53bea0000000000000000000000000000000000000000000000000000000000215cb10000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000010087a7811f4bfedea3d341ad165680ae306b01aaeacc205d227629cf157dd9f821000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000b3126d09ebf9b5de9eaf9937bfc3e5dcececa856000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000001f4eec0c1548000",
            "calls": [
              {
                "from": "0xa6fa4fb5f76172d178d61b04b0ecd319c5d1c0aa",
                "gas": "0x4b0577",
                "gasUsed": "0x61e1",
                "to": "0xa40fc0782bee28dd2cf8cb4ac2ecdb05c537f1b5",
                "input": "0x26c53bea0000000000000000000000000000000000000000000000000000000000215cb10000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000010087a7811f4bfedea3d341ad165680ae306b01aaeacc205d227629cf157dd9f821000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000b3126d09ebf9b5de9eaf9937bfc3e5dcececa856000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000001f4eec0c1548000",
                "calls": [
                  {
                    "from": "0xa6fa4fb5f76172d178d61b04b0ecd319c5d1c0aa",
                    "gas": "0x49b56c",
                    "gasUsed": "0x3d04",
                    "to": "0x7ceb23fd6bc0add59e62ac25578270cff1b9f619",
                    "input": "0xcf2c52cb000000000000000000000000b3126d09ebf9b5de9eaf9937bfc3e5dcececa8560000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000001f4eec0c1548000",
                    "value": "0x0",
                    "type": "CALL"
                  }
                ],
                "type": "DELEGATECALL"
              }
            ],
            "value": "0x0",
            "type": "CALL"
          }
        ],
        "value": "0x0",
        "type": "CALL"
      },
      {
        "from": "0xfffffffffffffffffffffffffffffffffffffffe",
        "gas": "0x1c962c4",
        "gasUsed": "0xc012",
        "to": "0x0000000000000000000000000000000000001001",
        "input": "0x19494a170000000000000000000000000000000000000000000000000000000062bd557500000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000147f9014483215cb294a6fa4fb5f76172d178d61b04b0ecd319c5d1c0aab9010087a7811f4bfedea3d341ad165680ae306b01aaeacc205d227629cf157dd9f821000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000005395640f0d9d7e51428d1e11519ae9b8b1e547b3000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee00000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000007c585087238000a08e71ee5848a1519da380b8df689787abc315743ebb4353e774bca02406c062738201078331333700000000000000000000000000000000000000000000000000",
        "output": "0x0000000000000000000000000000000000000000000000000000000000000001",
        "calls": [
          {
            "from": "0x0000000000000000000000000000000000001001",
            "gas": "0x4c4b40",
            "gasUsed": "0x7704",
            "to": "0xa6fa4fb5f76172d178d61b04b0ecd319c5d1c0aa",
            "input": "0x26c53bea0000000000000000000000000000000000000000000000000000000000215cb20000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000010087a7811f4bfedea3d341ad165680ae306b01aaeacc205d227629cf157dd9f821000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000005395640f0d9d7e51428d1e11519ae9b8b1e547b3000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee00000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000007c585087238000",
            "calls": [
              {
                "from": "0xa6fa4fb5f76172d178d61b04b0ecd319c5d1c0aa",
                "gas": "0x4b0577",
                "gasUsed": "0x61e1",
                "to": "0xa40fc0782bee28dd2cf8cb4ac2ecdb05c537f1b5",
                "input": "0x26c53bea0000000000000000000000000000000000000000000000000000000000215cb20000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000010087a7811f4bfedea3d341ad165680ae306b01aaeacc205d227629cf157dd9f821000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000005395640f0d9d7e51428d1e11519ae9b8b1e547b3000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee00000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000007c585087238000",
                "calls": [
                  {
                    "from": "0xa6fa4fb5f76172d178d61b04b0ecd319c5d1c0aa",
                    "gas": "0x49b56c",
                    "gasUsed": "0x3d04",
                    "to": "0x7ceb23fd6bc0add59e62ac25578270cff1b9f619",
                    "input": "0xcf2c52cb0000000000000000000000005395640f0d9d7e51428d1e11519ae9b8b1e547b300000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000007c585087238000",
                    "value": "0x0",
                    "type": "CALL"
                  }
                ],
                "type": "DELEGATECALL"
              }
            ],
            "value": "0x0",
            "type": "CALL"
          }
        ],
        "value": "0x0",
        "type": "CALL"
      },
      {
        "from": "0xfffffffffffffffffffffffffffffffffffffffe",
        "gas": "0x1c962c4",
        "gasUsed": "0x102de",
        "to": "0x0000000000000000000000000000000000001001",
        "input": "0x19494a170000000000000000000000000000000000000000000000000000000062bd557500000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000147f9014483215cb394a6fa4fb5f76172d178d61b04b0ecd319c5d1c0aab9010087a7811f4bfedea3d341ad165680ae306b01aaeacc205d227629cf157dd9f821000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000f8eb9c2248ce3b6357c7e7067d4d16d62b7ed004000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000002ea11e32ad50000a0efb741123130fa8c575b71460ff9fae3251094f690cfbf0758e42cac26fa52b08201748331333700000000000000000000000000000000000000000000000000",
        "output": "0x0000000000000000000000000000000000000000000000000000000000000001",
        "calls": [
          {
            "from": "0x0000000000000000000000000000000000001001",
            "gas": "0x4c4b40",
            "gasUsed": "0xb9d0",
            "to": "0xa6fa4fb5f76172d178d61b04b0ecd319c5d1c0aa",
            "input": "0x26c53bea0000000000000000000000000000000000000000000000000000000000215cb30000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000010087a7811f4bfedea3d341ad165680ae306b01aaeacc205d227629cf157dd9f821000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000f8eb9c2248ce3b6357c7e7067d4d16d62b7ed004000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000002ea11e32ad50000",
            "calls": [
              {
                "from": "0xa6fa4fb5f76172d178d61b04b0ecd319c5d1c0aa",
                "gas": "0x4b0577",
                "gasUsed": "0xa4ad",
                "to": "0xa40fc0782bee28dd2cf8cb4ac2ecdb05c537f1b5",
                "input": "0x26c53bea0000000000000000000000000000000000000000000000000000000000215cb30000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000010087a7811f4bfedea3d341ad165680ae306b01aaeacc205d227629cf157dd9f821000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000f8eb9c2248ce3b6357c7e7067d4d16d62b7ed004000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000002ea11e32ad50000",
                "calls": [
                  {
                    "from": "0xa6fa4fb5f76172d178d61b04b0ecd319c5d1c0aa",
                    "gas": "0x49b56c",
                    "gasUsed": "0x7fd0",
                    "to": "0x7ceb23fd6bc0add59e62ac25578270cff1b9f619",
                    "input": "0xcf2c52cb000000000000000000000000f8eb9c2248ce3b6357c7e7067d4d16d62b7ed0040000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000002ea11e32ad50000",
                    "value": "0x0",
                    "type": "CALL"
                  }
                ],
                "type": "DELEGATECALL"
              }
            ],
            "value": "0x0",
            "type": "CALL"
          }
        ],
        "value": "0x0",
        "type": "CALL"
      },
      {
        "from": "0xfffffffffffffffffffffffffffffffffffffffe",
        "gas": "0x1c962b8",
        "gasUsed": "0x102de",
        "to": "0x0000000000000000000000000000000000001001",
        "input": "0x19494a170000000000000000000000000000000000000000000000000000000062bd55b100000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000147f9014483215cb494a6fa4fb5f76172d178d61b04b0ecd319c5d1c0aab9010087a7811f4bfedea3d341ad165680ae306b01aaeacc205d227629cf157dd9f821000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000075099eada4834fc93140906e5186b695d7cfd115000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee00000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000e0303b699986ba07a9ef397ed31baaaed28ad5b5737908341b9bdcd3aba7c3bb9934258426b42338202548331333700000000000000000000000000000000000000000000000000",
        "output": "0x0000000000000000000000000000000000000000000000000000000000000001",
        "calls": [
          {
            "from": "0x0000000000000000000000000000000000001001",
            "gas": "0x4c4b40",
            "gasUsed": "0xb9d0",
            "to": "0xa6fa4fb5f76172d178d61b04b0ecd319c5d1c0aa",
            "input": "0x26c53bea0000000000000000000000000000000000000000000000000000000000215cb40000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000010087a7811f4bfedea3d341ad165680ae306b01aaeacc205d227629cf157dd9f821000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000075099eada4834fc93140906e5186b695d7cfd115000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee00000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000e0303b699986b",
            "calls": [
              {
                "from": "0xa6fa4fb5f76172d178d61b04b0ecd319c5d1c0aa",
                "gas": "0x4b0577",
                "gasUsed": "0xa4ad",
                "to": "0xa40fc0782bee28dd2cf8cb4ac2ecdb05c537f1b5",
                "input": "0x26c53bea0000000000000000000000000000000000000000000000000000000000215cb40000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000010087a7811f4bfedea3d341ad165680ae306b01aaeacc205d227629cf157dd9f821000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000075099eada4834fc93140906e5186b695d7cfd115000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee00000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000e0303b699986b",
                "calls": [
                  {
                    "from": "0xa6fa4fb5f76172d178d61b04b0ecd319c5d1c0aa",
                    "gas": "0x49b56c",
                    "gasUsed": "0x7fd0",
                    "to": "0x7ceb23fd6bc0add59e62ac25578270cff1b9f619",
                    "input": "0xcf2c52cb00000000000000000000000075099eada4834fc93140906e5186b695d7cfd11500000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000e0303b699986b",
                    "value": "0x0",
                    "type": "CALL"
                  }
                ],
                "type": "DELEGATECALL"
              }
            ],
            "value": "0x0",
            "type": "CALL"
          }
        ],
        "value": "0x0",
        "type": "CALL"
      },
      {
        "from": "0xfffffffffffffffffffffffffffffffffffffffe",
        "gas": "0x1c962b8",
        "gasUsed": "0xc012",
        "to": "0x0000000000000000000000000000000000001001",
        "input": "0x19494a170000000000000000000000000000000000000000000000000000000062bd55b100000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000147f9014483215cb594a6fa4fb5f76172d178d61b04b0ecd319c5d1c0aab9010087a7811f4bfedea3d341ad165680ae306b01aaeacc205d227629cf157dd9f821000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000852a1868ba523d787ee9306a3281f76458aa5e7b000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee00000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000e0303b699986ba011ea0586618611cf4e8782e41af70f41671ba28c555fa5aefe0e0c3c4748f1d282026f8331333700000000000000000000000000000000000000000000000000",
        "output": "0x0000000000000000000000000000000000000000000000000000000000000001",
        "calls": [
          {
            "from": "0x0000000000000000000000000000000000001001",
            "gas": "0x4c4b40",
            "gasUsed": "0x7704",
            "to": "0xa6fa4fb5f76172d178d61b04b0ecd319c5d1c0aa",
            "input": "0x26c53bea0000000000000000000000000000000000000000000000000000000000215cb50000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000010087a7811f4bfedea3d341ad165680ae306b01aaeacc205d227629cf157dd9f821000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000852a1868ba523d787ee9306a3281f76458aa5e7b000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee00000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000e0303b699986b",
            "calls": [
              {
                "from": "0xa6fa4fb5f76172d178d61b04b0ecd319c5d1c0aa",
                "gas": "0x4b0577",
                "gasUsed": "0x61e1",
                "to": "0xa40fc0782bee28dd2cf8cb4ac2ecdb05c537f1b5",
                "input": "0x26c53bea0000000000000000000000000000000000000000000000000000000000215cb50000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000010087a7811f4bfedea3d341ad165680ae306b01aaeacc205d227629cf157dd9f821000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000852a1868ba523d787ee9306a3281f76458aa5e7b000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee00000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000e0303b699986b",
                "calls": [
                  {
                    "from": "0xa6fa4fb5f76172d178d61b04b0ecd319c5d1c0aa",
                    "gas": "0x49b56c",
                    "gasUsed": "0x3d04",
                    "to": "0x7ceb23fd6bc0add59e62ac25578270cff1b9f619",
                    "input": "0xcf2c52cb000000000000000000000000852a1868ba523d787ee9306a3281f76458aa5e7b00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000e0303b699986b",
                    "value": "0x0",
                    "type": "CALL"
                  }
                ],
                "type": "DELEGATECALL"
              }
            ],
            "value": "0x0",
            "type": "CALL"
          }
        ],
        "value": "0x0",
        "type": "CALL"
      },
      {
        "from": "0xfffffffffffffffffffffffffffffffffffffffe",
        "gas": "0x1c962ac",
        "gasUsed": "0x117c1",
        "to": "0x0000000000000000000000000000000000001001",
        "input": "0x19494a170000000000000000000000000000000000000000000000000000000062bd55b100000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000147f9014483215cb694a6fa4fb5f76172d178d61b04b0ecd319c5d1c0aab9010087a7811f4bfedea3d341ad165680ae306b01aaeacc205d227629cf157dd9f821000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000c3bee8240dba8b0e5b2f4e06090a7eb1e18d4ace000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000006679f17951ff8a5a0f9b2810960898e373f702a4d5a95b74e32b083d93e8fb2d5c2a67ef320015a148203878331333700000000000000000000000000000000000000000000000000",
        "output": "0x0000000000000000000000000000000000000000000000000000000000000001",
        "calls": [
          {
            "from": "0x0000000000000000000000000000000000001001",
            "gas": "0x4c4b40",
            "gasUsed": "0xceb3",
            "to": "0xa6fa4fb5f76172d178d61b04b0ecd319c5d1c0aa",
            "input": "0x26c53bea0000000000000000000000000000000000000000000000000000000000215cb60000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000010087a7811f4bfedea3d341ad165680ae306b01aaeacc205d227629cf157dd9f821000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000c3bee8240dba8b0e5b2f4e06090a7eb1e18d4ace000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000006679f17951ff8a5",
            "calls": [
              {
                "from": "0xa6fa4fb5f76172d178d61b04b0ecd319c5d1c0aa",
                "gas": "0x4b0577",
                "gasUsed": "0xb990",
                "to": "0xa40fc0782bee28dd2cf8cb4ac2ecdb05c537f1b5",
                "input": "0x26c53bea0000000000000000000000000000000000000000000000000000000000215cb60000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000010087a7811f4bfedea3d341ad165680ae306b01aaeacc205d227629cf157dd9f821000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000c3bee8240dba8b0e5b2f4e06090a7eb1e18d4ace000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000006679f17951ff8a5",
                "calls": [
                  {
                    "from": "0xa6fa4fb5f76172d178d61b04b0ecd319c5d1c0aa",
                    "gas": "0x49b56c",
                    "gasUsed": "0x94b3",
                    "to": "0xae740d42e4ff0c5086b2b5b5d149eb2f9e1a754f",
                    "input": "0xcf2c52cb000000000000000000000000c3bee8240dba8b0e5b2f4e06090a7eb1e18d4ace0000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000006679f17951ff8a5",
                    "calls": [
                      {
                        "from": "0xae740d42e4ff0c5086b2b5b5d149eb2f9e1a754f",
                        "gas": "0x487a24",
                        "gasUsed": "0x7fba",
                        "to": "0x0f1c828ae960a1780c7125b9b6be2f7e3dba22cd",
                        "input": "0xcf2c52cb000000000000000000000000c3bee8240dba8b0e5b2f4e06090a7eb1e18d4ace0000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000006679f17951ff8a5",
                        "type": "DELEGATECALL"
                      }
                    ],
                    "value": "0x0",
                    "type": "CALL"
                  }
                ],
                "type": "DELEGATECALL"
              }
            ],
            "value": "0x0",
            "type": "CALL"
          }
        ],
        "value": "0x0",
        "type": "CALL"
      },
      {
        "from": "0xfffffffffffffffffffffffffffffffffffffffe",
        "gas": "0x1c962c4",
        "gasUsed": "0x102de",
        "to": "0x0000000000000000000000000000000000001001",
        "input": "0x19494a170000000000000000000000000000000000000000000000000000000062bd55b100000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000147f9014483215cb794a6fa4fb5f76172d178d61b04b0ecd319c5d1c0aab9010087a7811f4bfedea3d341ad165680ae306b01aaeacc205d227629cf157dd9f821000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000027e931831b89dc5c5852e8238ff401125cb67682000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000009b6e64a8ec60000a0731a0e81b7d993604bc278d1fba6a8dce94cd0a475936ced9342e1f7d2700a6c8203898331333700000000000000000000000000000000000000000000000000",
        "output": "0x0000000000000000000000000000000000000000000000000000000000000001",
        "calls": [
          {
            "from": "0x0000000000000000000000000000000000001001",
            "gas": "0x4c4b40",
            "gasUsed": "0xb9d0",
            "to": "0xa6fa4fb5f76172d178d61b04b0ecd319c5d1c0aa",
            "input": "0x26c53bea0000000000000000000000000000000000000000000000000000000000215cb70000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000010087a7811f4bfedea3d341ad165680ae306b01aaeacc205d227629cf157dd9f821000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000027e931831b89dc5c5852e8238ff401125cb67682000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000009b6e64a8ec60000",
            "calls": [
              {
                "from": "0xa6fa4fb5f76172d178d61b04b0ecd319c5d1c0aa",
                "gas": "0x4b0577",
                "gasUsed": "0xa4ad",
                "to": "0xa40fc0782bee28dd2cf8cb4ac2ecdb05c537f1b5",
                "input": "0x26c53bea0000000000000000000000000000000000000000000000000000000000215cb70000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000010087a7811f4bfedea3d341ad165680ae306b01aaeacc205d227629cf157dd9f821000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000027e931831b89dc5c5852e8238ff401125cb67682000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000009b6e64a8ec60000",
                "calls": [
                  {
                    "from": "0xa6fa4fb5f76172d178d61b04b0ecd319c5d1c0aa",
                    "gas": "0x49b56c",
                    "gasUsed": "0x7fd0",
                    "to": "0x7ceb23fd6bc0add59e62ac25578270cff1b9f619",
                    "input": "0xcf2c52cb00000000000000000000000027e931831b89dc5c5852e8238ff401125cb676820000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000009b6e64a8ec60000",
                    "value": "0x0",
                    "type": "CALL"
                  }
                ],
                "type": "DELEGATECALL"
              }
            ],
            "value": "0x0",
            "type": "CALL"
          }
        ],
        "value": "0x0",
        "type": "CALL"
      }
    ],
    "value": "0x0",
    "type": "CALL"
  }
}

@taratorio taratorio marked this pull request as ready for review January 19, 2024 17:26
@taratorio taratorio changed the title turbo/jsonrpc: add support for bor state sync event tx tracing turbo/jsonrpc: add support for bor state sync event tx tracing in debug API Jan 19, 2024
@mh0lt mh0lt merged commit cb6aa2f into devel Jan 22, 2024
7 checks passed
@mh0lt mh0lt deleted the polygon-fix-tracing branch January 22, 2024 20:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants