Skip to content
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: Address gov cli ux issues and add additional input validation for better errors #2938

Merged
merged 12 commits into from
Dec 3, 2018
Prev Previous commit
Next Next commit
Update x/gov/client/cli/query.go
Co-Authored-By: jackzampolin <jack.zampolin@gmail.com>
  • Loading branch information
cwgoes and jackzampolin authored Nov 29, 2018
commit c9abcc5863501f7eaf6c591a0b574e69aaebedd8
2 changes: 1 addition & 1 deletion x/gov/client/cli/query.go
Original file line number Diff line number Diff line change
Expand Up @@ -323,7 +323,7 @@ $ gaiacli query gov deposits 1
// validate that the proposal id is a uint
proposalID, err := strconv.ParseUint(args[0], 10, 64)
if err != nil {
return fmt.Errorf("proposal-id %s not a valid int, please input a valid proposal-id", args[0])
return fmt.Errorf("proposal-id %s not a valid uint, please input a valid proposal-id", args[0])
}

// check to see if the proposal is in the store
Expand Down