-
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
Governance API for deposits on a proposal returns null
after voting period closes
#2880
Closed
4 tasks
Comments
Feel free to merge this with #2879 if its felt to be a duplicate of a core issue |
This is expected. The votes are deleted after the proposal has passed or failed, as they no longer need to be kept in state. This endpoint will need to instead query past transactions and filter accordingly. |
I will be tackling this issue along with #2879. |
This was referenced Dec 11, 2018
4 tasks
chillyvee
pushed a commit
to chillyvee/cosmos-sdk
that referenced
this issue
Mar 1, 2024
* fix twitter links * disable md-link checker for twitter
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Summary of Bug
The Governance API for deposits on a proposal (/gov/proposals/:id/deposits) returns
null
instead of the deposits that were associated with the proposal after the voting period closes.This is unexpected.
It would be expected that the voting period has no effect on the JSON payload returned by a call to /gov/proposals/:id/deposits, and that the call reliably returns the deposits cast against a proposal whenever it is called.
This may be related to #2879.
Steps to Reproduce
null
as a response.For Admin Use
The text was updated successfully, but these errors were encountered: