-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
feat(engine): integrate state root task and comment it #13265
base: main
Are you sure you want to change the base?
Conversation
b4f0790
to
71f5252
Compare
This reverts commit f0487b9.
… alexey/state-root-task-integrate
30c6ee9
to
dab362e
Compare
dab362e
to
a20b19b
Compare
let noop_state_hook = |_state: &EvmState| {}; | ||
let persistence_not_in_progress = !self.persistence_state.in_progress(); | ||
|
||
// TODO: uncomment to use StateRootTask |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This doesn't include the changes for using the std::thread::scope
that spawning StateRootTask
requires now
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yep true, but they were quite invasive because it requires a huge scope that different stuff gets in, and also a custom return from that scope. So I decided to leave it for the wiring PR.
This doesn't enable the state root task, but instead just integrates it commented into the main codepath. This makes the testing easier, so that the "wiring" PR will be only about uncommenting these lines.