erigon icon indicating copy to clipboard operation
erigon copied to clipboard

Incorrect callTracer output field

Open quickchase opened this issue 2 years ago • 2 comments

System information

Erigon version: v2022.09.01

The output of this callTracer is incorrect. Geth has an output of 0x000000000000000000000000000000000000000000000000002757cfcb66cbdb while Erigon has an output of 0x

Expected behaviour

{
  "type": "CALL",
  "from": "0x0000007370af0000ad00be0efd2f1eb6e6e9d700",
  "to": "0xce7065ddedde8739365d228e9e3593e95b6f7969",
  "value": "0x0",
  "gas": "0x44138",
  "gasUsed": "0x1a3f7",
  "input": "0xb1d3f1c100000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000002757cfcb66cbdb0000000000000000000000000000007370af0000ad00be0efd2f1eb6e6e9d7000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000001446",
  "output": "0x000000000000000000000000000000000000000000000000002757cfcb66cbdb",

Actual behaviour

{
  "type": "CALL",
  "from": "0x0000007370af0000ad00be0efd2f1eb6e6e9d700",
  "to": "0xce7065ddedde8739365d228e9e3593e95b6f7969",
  "value": "0x0",
  "gas": "0x44138",
  "gasUsed": "0x1a3f7",
  "input": "0xb1d3f1c100000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000002757cfcb66cbdb0000000000000000000000000000007370af0000ad00be0efd2f1eb6e6e9d7000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000001446",
  "output": "0x",

Steps to reproduce the behaviour

| jq '.result.calls[3]'

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "debug_traceTransaction",
  "params": [
    "0x6249df6211b4a38734b782c60fcc70d83ecdba00443debdb6236b1cfc698bea8",
    {
      "tracer": "callTracer"
    }
  ]
}

quickchase avatar Sep 07 '22 14:09 quickchase

This issue is stale because it has been open for 40 days with no activity. Remove stale label or comment, or this will be closed in 7 days.

github-actions[bot] avatar Oct 18 '22 04:10 github-actions[bot]

Bump

quickchase avatar Oct 18 '22 13:10 quickchase

This issue is stale because it has been open for 40 days with no activity. Remove stale label or comment, or this will be closed in 7 days.

github-actions[bot] avatar Nov 29 '22 02:11 github-actions[bot]

bump

quickchase avatar Nov 29 '22 02:11 quickchase

I have confirmed that it works correctly on devel after the implementation of native tracers

AlexeyAkhunov avatar Jan 05 '23 07:01 AlexeyAkhunov

This issue is stale because it has been open for 40 days with no activity. Remove stale label or comment, or this will be closed in 7 days.

github-actions[bot] avatar Feb 15 '23 02:02 github-actions[bot]

This issue was closed because it has been stalled for 7 days with no activity.

github-actions[bot] avatar Feb 23 '23 02:02 github-actions[bot]