Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

eth/tracers: add block-level states for the prestateTracer #32701

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

Open
jsvisa wants to merge 2 commits into ethereum:master
base: master
Choose a base branch
Loading
from jsvisa:block-prestate

Conversation

@jsvisa
Copy link
Contributor

@jsvisa jsvisa commented Sep 23, 2025

Ref #32465 (comment)

I want to extend the debug_traceBlock to support block-level's prestate/diffstate.

My use case is that in some circumstances, we want to investigate and replay all transactions in one block(e.g., sandwich transactions) locally, so need the block-level's states as the base layer, and replay the transactions against this base layer.

Currently after we fetch the block-tx prestates, and merge them into one base, so if the server can do those logics, it should offer a better UX.

@s1na ptal, I'll add test cases later

@jsvisa jsvisa requested a review from s1na as a code owner September 23, 2025 03:35
Copy link
Contributor

s1na commented Sep 23, 2025

Just for my understanding and because you linked that issue: this is a separate feature request right? there it's mostly about tracing also the system calls. This seems to be rather about accumulating (merging) the traces for all txes in a block before returning

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

Reviewers

@s1na s1na Awaiting requested review from s1na s1na is a code owner

At least 1 approving review is required to merge this pull request.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

2 participants

AltStyle によって変換されたページ (->オリジナル) /