-
Notifications
You must be signed in to change notification settings - Fork 20.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
Tracker for live tracing v1.1.0 proposals #30356
Comments
It doesn't have to implement journallling, it has access to statedb no? It can just query the statedb for the values? So, if it has a list of |
Right it will need to track all the dirty accounts and slots in the call stack and do the revertals. With the library I provided it becomes much simpler. They will receive |
IMO it becomes too tied in with implementation details. I have a prospective future PR, where we journal differently. Instead of journalling So, when a balance is changed, we'd journal With such a model, you would not be able to get a sorted stream of reverse events. You could get a per-scope dump, basically: "This scope is reverted, the following stuff is what we're going with: Account A balance B, ... ". I guess what I'm trying to say is that I don't want to our hands to be tied, when it comes to API promises and journalling. |
That makes sense. Please note that I'm not using the journal API in any sense. I build an independent journal (see |
Here are ideas on improving the live tracing interface that were raised by Tenderly:
Tasks
Another item on the wishlist is a testing framework for the live tracers. It should be possible to prototype something via the SimulatedBackend so that you run the tracer against a predefined chain and can compare the output.
The text was updated successfully, but these errors were encountered: