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(votekeeper): Compute threshold directly in VoteKeeper to account for Skip threshold #73

Merged
merged 6 commits into from
Nov 21, 2023

Conversation

romac
Copy link
Member

@romac romac commented Nov 15, 2023

Corresponding spec change in #74

Copy link

codecov bot commented Nov 15, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

❗ No coverage uploaded for pull request base (anca/keeper_skip_test@061b643). Click here to learn what that means.

Additional details and impacted files
@@                   Coverage Diff                    @@
##             anca/keeper_skip_test      #73   +/-   ##
========================================================
  Coverage                         ?   86.83%           
========================================================
  Files                            ?       27           
  Lines                            ?     1245           
  Branches                         ?        0           
========================================================
  Hits                             ?     1081           
  Misses                           ?      164           
  Partials                         ?        0           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@romac romac force-pushed the romac/keeper-skip-future-2 branch from e8cd671 to a6ed9e5 Compare November 15, 2023 09:53
…d and precommited when checking for Skip threshold
@romac romac marked this pull request as ready for review November 15, 2023 15:18
@romac romac requested a review from ancazamfir November 15, 2023 15:18
@hvanz hvanz mentioned this pull request Nov 17, 2023
@romac romac merged commit d868668 into anca/keeper_skip_test Nov 21, 2023
7 checks passed
@romac romac deleted the romac/keeper-skip-future-2 branch November 21, 2023 12:14
romac added a commit that referenced this pull request Nov 22, 2023
…t for `Skip` threshold (#70)

* Failing test for skip round

* Fix expected_output and add test for skip with quorum

* fix(votekeeper): Compute threshold directly in `VoteKeeper` to account for `Skip` threshold (#73)

* fix(votekeeper): Compute threshold directly in `VoteKeeper` to account for `Skip` threshold

* test: Re-enable VoteCount tests

* test: Re-enable RoundVotes tests

* test: Remove duplicate tests

* test: Re-enable VoteKeeper tests

* fix(votekeeper): Do not count validator weights twice if they prevoted and precommited when checking for Skip threshold

* Fix skip tests

---------

Co-authored-by: Anca Zamfir <anca@informal.systems>
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.

1 participant