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

Support geth-like options in debug_traceTransaction #1553

Open
marcciosilva opened this issue Jun 9, 2021 · 0 comments · Fixed by #1644
Open

Support geth-like options in debug_traceTransaction #1553

marcciosilva opened this issue Jun 9, 2021 · 0 comments · Fixed by #1644

Comments

@marcciosilva
Copy link
Contributor

marcciosilva commented Jun 9, 2021

Description

Geth supports the following options for this debug namespace method (details in the link provided):

  • disableStorage (boolean)
  • disableMemory (boolean)
  • disableStack (boolean)
  • tracer (string - custom tracer logic)
  • timeout (string)

It'd be nice to also support this options in this project - at least the ones dealing with storage.

Motivation

This mainnet transaction's response size for debug_traceTransaction is of approximately 21.29 MB due to not being able to filter storage fields.
With a simple test (adding @JsonIgnore to the storage fields in Op.java and DetailedProgramTrace.java), the size of the payload for the same transaction comes down to approximately 100.52 KB - maybe something configurable can be done in this regard for storage.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant