Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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
R4R: x/gov Get Vote(s)/Deposit(s) Updates #3091
R4R: x/gov Get Vote(s)/Deposit(s) Updates #3091
Changes from all commits
0e1d2eb
554e895
78667f4
e7faa8f
7ee658e
a56f5fc
ca78f0d
29fc73a
609ec8c
403b28a
b424c76
c457ca6
6fbbded
b998c36
b1fcc80
2ffca9c
191d201
bacf121
249e7a5
0a4cf62
8087ce6
cbf332b
2e4a235
9b813fc
fc0c689
6947793
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
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.
shouldn't we get the proposal and query the deposit tx if it's not on deposit or voting period ? I mean, shouldn't we have an
if...else
aroundres, err := cliCtx.QueryWithData(fmt.Sprintf("custom/%s/deposit", queryRoute)
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.
Hmmm I dont think so. I think its implicit. Deposit will be empty in the case where its not voting or deposit period, no?