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.
null
as a response. 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.