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

Consensus transition speedup #6787

Merged
merged 3 commits into from
Feb 10, 2025

Conversation

AdoAdoAdo
Copy link
Contributor

Reasoning behind the pull request

Proposed changes

Testing procedure

Pre-requisites

Based on the Contributing Guidelines the PR author and the reviewers must check the following requirements are met:

  • was the PR targeted to the correct branch?
  • if this is a larger feature that probably needs more than one PR, is there a feat branch created?
  • if this is a feat branch merging, do all satellite projects have a proper tag inside go.mod?

@AdoAdoAdo AdoAdoAdo marked this pull request as ready for review February 7, 2025 13:50
cns.ResetRoundStatus()
cns.ResetRoundState()
}

// ResetConsensusState method resets all the consensus data
func (cns *ConsensusState) ResetConsensusState() {
Copy link
Contributor

Choose a reason for hiding this comment

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

we can call ResetConsensusRoundState in ResetConsensusState and reduce duplicated code

@@ -146,6 +147,12 @@ func (sposWorkerMock *SposWorkerMock) ResetConsensusMessages() {
}
}

func (sposWorkerMock *SposWorkerMock) ResetConsensusState() {
Copy link
Contributor

Choose a reason for hiding this comment

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

add mock comment

@AdoAdoAdo AdoAdoAdo merged commit 8d0c6fc into feat/equivalent-messages Feb 10, 2025
4 checks passed
@AdoAdoAdo AdoAdoAdo deleted the consensus-transition-speedup branch February 10, 2025 12:03
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.

3 participants