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

feat(anvil): add callTracer support for debug_traceCall #8375

Merged
merged 12 commits into from
Jul 10, 2024

Conversation

jakim929
Copy link
Contributor

@jakim929 jakim929 commented Jul 5, 2024

Motivation

#5855

currently only debug_traceTransaction supports builtin tracer type callTracer. Adding callTracer support for debug_traceCall will be useful when analyzing transaction requests that have not been mined yet.

Solution

Out of scope

  • there's still work to be done to support the full spec for callTracer (in a separate PR)
    • add state / block overrides aren't respected yet
  • adding support for other types of tracerTypes (ie. prestateTracer since it's requested)

@jakim929 jakim929 marked this pull request as draft July 5, 2024 21:11
@jakim929 jakim929 marked this pull request as ready for review July 8, 2024 22:40
@jakim929 jakim929 changed the title [wip] feat(anvil): add callTracer support for debug_traceCall feat(anvil): add callTracer support for debug_traceCall Jul 8, 2024
Copy link
Member

@mattsse mattsse left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

cool!
this looks correct

@mattsse mattsse enabled auto-merge (squash) July 10, 2024 09:51
@mattsse mattsse merged commit 1e0603f into foundry-rs:master Jul 10, 2024
20 checks passed
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.

None yet

2 participants