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(consensus): send decided vote for previous round on query vote #1567

Merged
merged 4 commits into from
Nov 7, 2024

Conversation

b00f
Copy link
Collaborator

@b00f b00f commented Oct 21, 2024

Description

Upon receiving a QueryVote, if there is any decided vote for the last round, it should be broadcasted. Previously, it broadcast the decided vote for the query round. This helps validators who are behind the network to sync faster.

Copy link

codecov bot commented Nov 5, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 75.92%. Comparing base (86a8ba9) to head (1c77117).
Report is 9 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1567      +/-   ##
==========================================
+ Coverage   75.07%   75.92%   +0.84%     
==========================================
  Files         234      236       +2     
  Lines       12156    18198    +6042     
==========================================
+ Hits         9126    13816    +4690     
- Misses       2582     3922    +1340     
- Partials      448      460      +12     

@Ja7ad Ja7ad added this to the v1.6.0 milestone Nov 5, 2024
@themantre themantre merged commit cc18fa3 into pactus-project:main Nov 7, 2024
12 checks passed
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