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

eth/tracers: add disableCode/Storage options to prestateTracer #12384

Merged
merged 5 commits into from
Nov 15, 2024

Conversation

jsvisa
Copy link
Contributor

@jsvisa jsvisa commented Oct 21, 2024

In some cases, we are only concerned with balances or nonce information, and are not interested in the lengthy contract code or storage data. Therefore, I introduced two new configuration options in the prestateTracerConfig structure:

  • disableCode
  • disableStorage

These options allow users to control whether the tracer returns contract code and storage data during execution tracing. By setting these options, users can more flexibly customize their needs and focus on obtaining information that is more critical and relevant to their specific use cases.

Signed-off-by: jsvisa <delweng@gmail.com>
Signed-off-by: jsvisa <delweng@gmail.com>
Signed-off-by: jsvisa <delweng@gmail.com>
Signed-off-by: jsvisa <delweng@gmail.com>
Signed-off-by: jsvisa <delweng@gmail.com>
@jsvisa
Copy link
Contributor Author

jsvisa commented Oct 30, 2024

@AskAlexSharov PTAL, reth alloy-rs/alloy#1538 and geth ethereum/go-ethereum#30648 have been merged.

@shohamc1 shohamc1 merged commit d72d59d into erigontech:main Nov 15, 2024
10 checks passed
@jsvisa jsvisa deleted the prestate-no-code branch November 16, 2024 02:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants