-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
Add tally endpoint for Gov CLI and REST #2080
Comments
@sunnya97 how would this endpoint be ? |
It returns a TallyResult.
If you call it for a proposal that's already completed voting, it just gives you the final tally results. If you call it for a proposal still in DepositPeriod, it will just return an empty tally. |
@sunnya97 Are you working on this somewhere ? Otherwise I can pick it up if you like |
Ah, oops. This was actually closed by #2141 |
* Reintroduce missing code for rest endpoint wiring * Fix gofumpt * e2e test to check if endpoints are available * Ran linter/formater * Refactor and add comprehensive tests for missing routes (cosmos#2094) * Fixed var -> const definition --------- Co-authored-by: lg <lauren@interchain.io> Co-authored-by: lg <8335464+glnro@users.noreply.github.com>
Use the querier in #1918
The text was updated successfully, but these errors were encountered: