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

Add "onlyTopLevelCall" to debug_traceTransaction request data #9569

Open
antazoey opened this issue Dec 17, 2024 · 1 comment
Open

Add "onlyTopLevelCall" to debug_traceTransaction request data #9569

antazoey opened this issue Dec 17, 2024 · 1 comment
Labels
A-reth-anvil Area: reth-anvil C-anvil Command: anvil T-feature Type: feature

Comments

@antazoey
Copy link

antazoey commented Dec 17, 2024

Component

Anvil

Describe the feature you would like

To get return values from Alchemy, I use this tracer config in debug_traceTransaction:

{"tracer": "callTracer", "tracerConfig": {"onlyTopLevelCall": true}}

This is much faster and uses way less memory than parsing the full trace.

I would like to be able to do the same when chatting up a Foundry node (via RPC).

Unless there is a different way I can the return value for a transaction via its hash?

Additional context

No response

@antazoey antazoey added T-feature Type: feature T-needs-triage Type: this issue needs to be labelled labels Dec 17, 2024
@github-project-automation github-project-automation bot moved this to Todo in Foundry Dec 17, 2024
@zerosnacks zerosnacks added A-reth-anvil Area: reth-anvil C-anvil Command: anvil and removed T-needs-triage Type: this issue needs to be labelled labels Dec 18, 2024
@zerosnacks
Copy link
Member

Hi @antazoey thanks for flagging this

Added to A-reth-anvil Area: reth-anvil , this is something Reth already supports out-of-the-box using onlyTopCall in the callTracer configuration and will be implemented part of the reth-anvil project

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-reth-anvil Area: reth-anvil C-anvil Command: anvil T-feature Type: feature
Projects
Status: Todo
Development

No branches or pull requests

2 participants