Skip to content

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
@s1na
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
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants