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

bugFix/shuffle-out-epoch-1-restart #2016

Merged
merged 4 commits into from
Jun 25, 2020
Merged

Conversation

sasurobert
Copy link
Contributor

edge case fix when reshuffling in early epoch 1, the node currently thinks it should start in epoch 0.

@multiversx multiversx deleted a comment from bogdan-rosianu Jun 25, 2020
@@ -339,7 +339,10 @@ func (e *epochStartBootstrap) Bootstrap() (Parameters, error) {
return Parameters{}, err
}

if e.isStartInEpochZero() || e.computeIfCurrentEpochIsSaved() {
isStartInEpochZero := e.isStartInEpochZero()
isCurrentEpochIsSaved := e.computeIfCurrentEpochIsSaved()
Copy link
Contributor

Choose a reason for hiding this comment

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

*isCurrentEpochSaved

Copy link
Contributor

Choose a reason for hiding this comment

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

+1

Copy link
Contributor

@LucianMincu LucianMincu left a comment

Choose a reason for hiding this comment

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

System tests passed.

@LucianMincu LucianMincu merged commit e6f19ac into development Jun 25, 2020
@LucianMincu LucianMincu deleted the bugFix/shuffle-out-epoch-1 branch June 25, 2020 14:24
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.

None yet

4 participants