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(drive): add validation that an identity can not apply to be a contender in a contest twice. #1923

Conversation

QuantumExplorer
Copy link
Member

Issue being fixed or feature implemented

We found that if a contender tried to be in a contest twice validation would let it pass only for drive to reject it at the db level.

What was done?

Added validation to make sure we are not a contender when trying to register for a contest.

How Has This Been Tested?

Breaking Changes

Checklist:

  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have added or updated relevant unit/integration/functional/e2e tests
  • I have added "!" to the title and described breaking changes in the corresponding section if my code contains any
  • I have made corresponding changes to the documentation if needed

For repository code-owners and collaborators only

  • I have assigned this pull request to a milestone

@QuantumExplorer QuantumExplorer merged commit c6f338c into feat/contestedDocumentResolutionWithMasternodeVoting Jul 4, 2024
2 checks passed
@QuantumExplorer QuantumExplorer deleted the fix/contestedDocumentResolutionFixes6 branch July 4, 2024 10:48
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