-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
[consensus][dag] dag integration helpers #10056
Conversation
Current dependencies on/for this PR:
This comment was auto-generated by Graphite. |
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.
There is nothing in this PR.
Why do you need to wrap ordering_state_computer?
because we are connecting ordered blocks from adapter to buffer manager directly, without going via the state computer. At this point, state computer is just for state sync, so I am wrapping ordering state computer to give it some dummy block_rx and just retain the sync logic. We might even consider removing state computer completely for dag in future. |
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.
why do we need to implement the trait? can't we just expose a sync to function?
f3e9fce
to
64ea42f
Compare
I kept the trait for testing. We can have a DAG specific state sync trait as well. Not sure which is better. |
3c4d044
to
bf0153c
Compare
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
✅ Forge suite
|
✅ Forge suite
|
✅ Forge suite
|
Description
Test Plan