-
Notifications
You must be signed in to change notification settings - Fork 903
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
Ballots assigned incorrect proof #3820
Ballots assigned incorrect proof #3820
Conversation
e1de49e
to
08a8f35
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM++
CI shows several unrelated test failures (timeouts). However, those failures cause the browser tests to abort early, meaning that the relevant browser tests to this PR are unable to run. The network audit step also fails for unrelated reasons. |
e02e4c7
to
296491e
Compare
…be tested. No behavior changes.
Resolves #6607: Ballots assigned incorrect proof. The code in PhaseTwo::ProofBallots assumed that surveyor IDs are unique, but they may be reused between transactions. This could cause the proof for a ballot with one viewing ID to be assigned to a ballot for a different viewing ID if they shared the same surveyor ID. To fix this, check that both the surveyor ID and viewing ID are a match before assigning the proof.
296491e
to
36279d3
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
code change looks good to me. I see that CI was aborted, so I restarted it. When CI passes we can merge it
All tests passed (after retries), but some pipeline steps related to publishing test results failed. Another step timed out with this error message:
|
Submitter Checklist:
Resolves brave/brave-browser#6607
npm run lint
)git rebase master
(if needed).git rebase -i
to squash commits (if needed).Test Plan:
Because this bug is timing related and not 100% reproducible, repeat the steps above several (5?) times.
Reviewer Checklist:
After-merge Checklist:
changes has landed on.