-
Notifications
You must be signed in to change notification settings - Fork 668
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
Fix/nakamoto downloader at reward cycle boundary #5305
Fix/nakamoto downloader at reward cycle boundary #5305
Conversation
… the reward set to use to validate blocks (instead of the mod 1 indexing)
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 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.
Nice!
Not gonna lie...seeing the failures on this PR make me want to cry because I have seen those errors before and was 90% sure i fixed them...back to the drawing board. The prometheus metrics seem to not be updating when tests expect them to be and I thought the wait for would fix it but it doesn't seem to. |
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 pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
This fixes an off-by-one bug in which we load the wrong reward set to validate the tenure-end block of the last tenure of a reward set.