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

feature move JournalState depth to EvmContext #1227

Open
rakita opened this issue Mar 25, 2024 · 0 comments
Open

feature move JournalState depth to EvmContext #1227

rakita opened this issue Mar 25, 2024 · 0 comments
Labels
refactor Refactor of the code

Comments

@rakita
Copy link
Member

rakita commented Mar 25, 2024

There is a new usage for Journaling and that is reverting whole transaction. Currently JournalState takes care of call depth, this is not necessary to be there and can be moved to a more appropriate place, EvmContext and this would allow JournalState to be used to create a snapshot and revert it by demand.

@rakita rakita added the refactor Refactor of the code label Mar 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
refactor Refactor of the code
Projects
None yet
Development

No branches or pull requests

1 participant