Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

DisputeCoordinator QueryCandidateVotes should be able to answer multiple queries at once #3439

Closed
rphmeier opened this issue Jul 8, 2021 · 0 comments · Fixed by #3459
Closed
Assignees
Labels
I8-refactor Code needs refactoring.

Comments

@rphmeier
Copy link
Contributor

rphmeier commented Jul 8, 2021

As seen in #3348, the provisioner currently has to make a QueryCandidateVotes request for each dispute in RecentDisputes. It should be possible to have the provisioner send a single query to the dispute coordinator to be answered all at once, similar to CandidateBackingMessage::GetBackedCandidates.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
I8-refactor Code needs refactoring.
Projects
None yet
2 participants