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: Query Gov Params #2576

Merged
merged 18 commits into from
Nov 13, 2018
Merged
Prev Previous commit
Next Next commit
fixed diff commit
  • Loading branch information
sunnya97 committed Nov 4, 2018
commit ed33bcb340b9e5e8a7c290bfdad0851ca89c7c39
2 changes: 1 addition & 1 deletion x/gov/client/cli/tx.go
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ func GetCmdVote(cdc *codec.Codec) *cobra.Command {
func GetCmdQueryProcedure(queryRoute string, cdc *codec.Codec) *cobra.Command {
cmd := &cobra.Command{
Use: "procedure [procedure-type]",
Short: "Query the procedure parameters of a certain part of the governance process",
Short: "Query the procedure parameters of the governance process",
Args: cobra.ExactArgs(1),
RunE: func(cmd *cobra.Command, args []string) error {
procedureType := args[0]
Expand Down
4 changes: 0 additions & 4 deletions x/gov/client/rest/rest.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,8 @@ import (
// REST Variable names
// nolint
const (
<<<<<<< HEAD
RestProposalID = "proposalId"
=======
RestProcedureType = "procedure-type"
RestProposalID = "proposal-id"
>>>>>>> gov query procedures
RestDepositer = "depositer"
RestVoter = "voter"
RestProposalStatus = "status"
Expand Down