-
Notifications
You must be signed in to change notification settings - Fork 462
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
CollectTipSetOfHeightAtLeast new OBO error #3027
Comments
See also #3025 |
@deaswang to clarify a bit to help you with #3250 the major fix that this issue is tracking is to make tl;dr |
Description
Because of the recent fix in #3026 we are now missing one tipset in the ancestor subchain in the case when the sample height falls on a null block. This bug should only be an issue in the case a PoSt is submitted at the very last possible block. In that case validators will incorrectly fail with "sample height out of range"
Acceptance criteria
CollectTipSetsOfHeightAtLeast
to handle this OBO errorGetRecentAncestors
code which has some complexity that will go away when making this change. Specifically we no longer need two iterators becauseCollectTipSetsOfHeightAtLeast
will no longer drop a value needed byCollectAtMostNTipSets
Risks + pitfalls
Where to begin
The text was updated successfully, but these errors were encountered: