-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Implement prestateTracer #2624
Comments
I am working on this. |
lmk if you have any questions, |
@mattsse I'm not sure if my method of obtaining the prestate is correct. I am thinking of making a copy of state_db before passing it to inspect(). In that way, db values can be accessed after passing it to inspect(). When inspect() returns post_state, I can iterate the post_state to get the addresses affected by the transaction then I will be able to use the db_copy to get the old account state. |
Any updates on prestate tracer? It's must-have to simulate a bundle |
I can bump prio for this, |
@mattsse, mind I give it a try? |
The prestateTracer is currently missing the "diffMode" option: nothing happens when
, that returns the differences between the transaction's pre and post-state (i.e. what changed because the transaction happened). |
@0x366, there is a small bug, in how the config is parsed. Will push a fix EOD. |
Describe the feature
See https://geth.ethereum.org/docs/developers/evm-tracing/built-in-tracers
This is similar to #2110 but for the missing
reth/crates/rpc/rpc/src/debug.rs
Lines 378 to 380 in abcadd9
variant
TODO
Additional context
No response
The text was updated successfully, but these errors were encountered: