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

[api] implement web3 API debug_traceTransaction #3775

Closed
1 task done
millken opened this issue Jan 17, 2023 · 0 comments · Fixed by #3779
Closed
1 task done

[api] implement web3 API debug_traceTransaction #3775

millken opened this issue Jan 17, 2023 · 0 comments · Fixed by #3779
Assignees
Labels

Comments

@millken
Copy link
Contributor

millken commented Jan 17, 2023

https://geth.ethereum.org/docs/developers/evm-tracing/built-in-tracers

example

debug.traceTransaction('0xfc9359e49278b7ba99f59edac0e3de49956e46e530a53c15aa71226b7aa92c6f', {
  enableMemory: false,
  disableStack: false,
  disableStorage: false,
  enableReturnData: true
});

Return:

{
   "gas":25523,
   "failed":false,
   "returnValue":"",
   "structLogs":[
      {
         "pc":0,
         "op":"PUSH1",
         "gas":64580,
         "gasCost":3,
         "depth":1,
         "error":null,
         "stack":[

         ],
         "memory":null,
         "storage":{

         }
      },
      {
         "pc":2,
         "op":"PUSH1",
         "gas":64577,
         "gasCost":3,
         "depth":1,
         "error":null,
         "stack":[
            "0000000000000000000000000000000000000000000000000000000000000060"
         ],
         "memory":null,
         "storage":{

         }
      },

      ...

Affected modules

  • api
@millken millken self-assigned this Jan 17, 2023
@millken millken changed the title [api] implement web3 debug.traceTransaction [api] implement web3 debug_traceTransaction Jan 17, 2023
@millken millken changed the title [api] implement web3 debug_traceTransaction [api] implement web3 API debug_traceTransaction Jan 17, 2023
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 a pull request may close this issue.

1 participant