-
Notifications
You must be signed in to change notification settings - Fork 103
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
Fetch Epoch Root via Leaves for Stake Table Catchup #2650
Conversation
Unable to build without Cargo.lock file. This means that after this change 3rd party projects may have For the first failing build see: https://github.com/EspressoSystems/espresso-sequencer/actions/runs/13439312026 To reproduce locally run
This PR can still be merged. |
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.
Overall it LGTM
.get_epoch_root(root_block_in_epoch(*root_epoch, self.epoch_height)) | ||
.await | ||
.ok_or(anytrace::warn!("get epoch root failed"))?; | ||
else { | ||
anytrace::bail!("get epoch root failed"); |
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.
think its better to know what epoch it failed for
Co-authored-by: Abdul Basit <[email protected]>
This PR implements Leaf fetching to get the epoch root for each epoch we need for catchup.
This PR adds to the CatchupDataSource the ability to fetch leafs from others for use in catchup.