Skip to content
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: checkpointing/epoch growth bug #99

Merged
merged 5 commits into from
Aug 22, 2022
Merged

Fix: checkpointing/epoch growth bug #99

merged 5 commits into from
Aug 22, 2022

Conversation

gitferry
Copy link
Contributor

This PR is to fix a bug reported by @toliujiayi that a new checkpoint should be created for the ending of an epoch instead the beginning of an epoch. This bug is caused by the reason that the order of the beginBlock of the epoching module is executed before that of the checkpointing so the epoch number is increased already.

Copy link
Member

@SebastianElvis SebastianElvis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the fix!

@gitferry gitferry merged commit b21c381 into main Aug 22, 2022
@gitferry gitferry deleted the fix/epoch-growth branch August 22, 2022 04:15
vitsalis pushed a commit that referenced this pull request Jan 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants