Skip to content
This repository has been archived by the owner on Nov 6, 2020. It is now read-only.

Include other trace_ RPCs in parity.js #3487

Closed
gavofyork opened this issue Nov 17, 2016 · 1 comment
Closed

Include other trace_ RPCs in parity.js #3487

gavofyork opened this issue Nov 17, 2016 · 1 comment
Assignees
Labels
F3-annoyance 💩 The client behaves within expectations, however this “expected behaviour” itself is at issue. M6-rpcapi 📣 RPC API. P2-asap 🌊 No need to stop dead in your tracks, however issue should be addressed as soon as possible. Q2-easy 💃 Can be fixed by copy and pasting from StackOverflow.
Milestone

Comments

@gavofyork
Copy link
Contributor

Currently missing:

  • trace_call (like eth_call but takes an extra what_trace arg)
  • trace_rawTransaction (like eth_sendRawTransaction but takes an extra what_trace arg and doesn't actually send it)
  • trace_replayTransaction (takes a transaction hash and what_trace arg)

what_trace is an array that should contain one or more of vmTrace, trace and stateDiff, depending on what kind of trace you want to make.

@gavofyork gavofyork added this to the 1.5 Tenuity milestone Nov 17, 2016
@gavofyork gavofyork added F3-annoyance 💩 The client behaves within expectations, however this “expected behaviour” itself is at issue. M6-rpcapi 📣 RPC API. P2-asap 🌊 No need to stop dead in your tracks, however issue should be addressed as soon as possible. Q2-easy 💃 Can be fixed by copy and pasting from StackOverflow. labels Nov 17, 2016
@jacogr jacogr self-assigned this Nov 17, 2016
@jacogr
Copy link
Contributor

jacogr commented Nov 17, 2016

Any preferences and/or would sane defaults make sense in this case -

For eth.call (i.e. when blockNumber is not specified, it defaults to latest

call (options, blockNumber = 'latest') ...

For eth.trace (and the others with the whatTrace parameter), is there a sane default -

call (options, blockNumber = 'latest', whatTrace = ['vmTrace']) ...

Or don't try and specify most-used whatTrace defaults for these at all.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
F3-annoyance 💩 The client behaves within expectations, however this “expected behaviour” itself is at issue. M6-rpcapi 📣 RPC API. P2-asap 🌊 No need to stop dead in your tracks, however issue should be addressed as soon as possible. Q2-easy 💃 Can be fixed by copy and pasting from StackOverflow.
Projects
None yet
Development

No branches or pull requests

2 participants