-
Notifications
You must be signed in to change notification settings - Fork 86
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: handle EBBs in rewindHeaderState #1691
Conversation
d1b4d92
to
b997eef
Compare
, headerStateAnchor = headerStateAnchor | ||
} | ||
where | ||
rolledBack :: AnnTip blk -> Bool | ||
rolledBack t = annTipPoint t > p | ||
rollBack :: AnnTip blk -> Bool |
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.
The name change was accidental, but doesn't seem worth another force push :)
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.
Did you see #1690 (comment)?
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 did now. I've adopted it.
b997eef
to
e09503c
Compare
@nfrisby feel free to |
My big update to PR #1506 is still a work-in-progress, but I do think it is "feature complete" with respect to PBFT and RealPBFT. In particular the commit on this PR passed hundreds of thousands of tests (though I can't be sure how many exercised it), including a couple repros derived from this PR's Issue. So I'm going to merge. Thanks. |
bors r+ |
Fixes #1690.
I believe this bug was masked by Issue #1489; I discovered it and confirmed that this patch fixes it on my related WIP branch. This PR does not include a repro for this bug, but that branch does, and PR #1506 will as soon as I'm able to update it with that WIP branch -- that's my current focus.