Skip to content

Divergences in comparison with #9620. Part 2: Improved checks for vote extension signing in the unit tests#9895

Merged
sergio-mena merged 3 commits intofeature/abci++veffrom
sergio/9620-divergences-2
Dec 20, 2022
Merged

Divergences in comparison with #9620. Part 2: Improved checks for vote extension signing in the unit tests#9895
sergio-mena merged 3 commits intofeature/abci++veffrom
sergio/9620-divergences-2

Conversation

@sergio-mena
Copy link
Contributor

@sergio-mena sergio-mena commented Dec 16, 2022

Contributes to #9887

This PR comprises three steps:

  • Add new checks to signAddVote vote to make sure the votes are used properly by the tests
  • Remove a number of duplicate MakeVote implementations
  • Refactored signAddVote and MakeVote so that they share the newly introduced checks

PR checklist

  • Tests written/updated, or no tests needed
  • CHANGELOG_PENDING.md updated, or no changelog entry needed
  • Updated relevant documentation (docs/) and code comments, or no
    documentation updates needed

@thanethomson
Copy link
Contributor

Thanks for the cleanup here!

@sergio-mena sergio-mena merged commit 12f7e31 into feature/abci++vef Dec 20, 2022
@sergio-mena sergio-mena deleted the sergio/9620-divergences-2 branch December 20, 2022 10:53
@sergio-mena sergio-mena changed the title Improved checks for vote extension signing in the unit tests Divergences in comparison with #9620. Part 2: Improved checks for vote extension signing in the unit tests Dec 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done/Merged

Development

Successfully merging this pull request may close these issues.

2 participants