-
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
feat(engine-util): reorg interceptor #10173
Conversation
fc4cf05
to
cd22aea
Compare
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.
I'm realizing that we could improve a lot of building ergonomics...
this is not integrated into the EthNodeLauncher but we can do that separately
// TODO: This is an expensive blocking operation, ideally it's spawned | ||
// as a task so that the stream could yield the control back. |
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.
should be okay for debugging
crates/engine/util/src/reorg.rs
Outdated
&mut block_env, | ||
chain_spec, | ||
&reorg_target.header, | ||
U256::MAX, // TODO: |
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 is okay because no longer relevant for beacon consensus
Description
Supersedes #8110.
Create a stream wrapper that can simulate reorgs for block n based on the contents of block n + 1.