Skip to content

[Backport release/v6.x] Fix/Validate Dispute Votes - #1071

Merged
danflo27 merged 1 commit into
release/v6.xfrom
backport-1061-to-release/v6.x
Aug 21, 2026
Merged

[Backport release/v6.x] Fix/Validate Dispute Votes#1071
danflo27 merged 1 commit into
release/v6.xfrom
backport-1061-to-release/v6.x

Conversation

@github-actions

Copy link
Copy Markdown
Contributor

Backport 50d81a1 from #1061.

* made it so that it validates the vote choice to ensure it is a valid choice and then also when counting vote power we do not let everything but against and support being counted as invalid

* addressed a vote accounting bug

* strengthened testing around edge case dispute voting

* refactored logic with voting on disputes. Tried to cleanup the changes and make it more simple

* extended the new voting logic and safeguards to the SetTeamVote function

* fixed test that was failing

* made lint fixes

* lint fix

---------

Co-authored-by: Dan F <florentinodc@outlook.com>
(cherry picked from commit 50d81a1)
@danflo27
danflo27 merged commit c1eb449 into release/v6.x Aug 21, 2026
@danflo27
danflo27 deleted the backport-1061-to-release/v6.x branch August 21, 2026 14:14
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.

2 participants