Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 9 additions & 3 deletions x/gov/client/cli/query.go
Original file line number Diff line number Diff line change
Expand Up @@ -745,7 +745,7 @@ $ %s query gov proposer 1
}

func GetCmdConstitution() *cobra.Command {
return &cobra.Command{
cmd := &cobra.Command{
Use: "constitution",
Short: "Get the constitution",
Args: cobra.NoArgs,
Expand All @@ -764,11 +764,13 @@ func GetCmdConstitution() *cobra.Command {
return clientCtx.PrintProto(resp)
},
}
flags.AddQueryFlagsToCmd(cmd)
return cmd
}

// GetCmdQueryMinDeposit implements the query min deposit command.
func GetCmdQueryMinDeposit() *cobra.Command {
return &cobra.Command{
cmd := &cobra.Command{
Use: "min-deposit",
Args: cobra.ExactArgs(0),
Short: "Query the minimum deposit currently needed for a proposal to enter voting period",
Expand Down Expand Up @@ -796,11 +798,13 @@ $ %s query gov min-deposit
return clientCtx.PrintProto(resp)
},
}
flags.AddQueryFlagsToCmd(cmd)
return cmd
}

// GetCmdQueryMinInitialDeposit implements the query min initial deposit command.
func GetCmdQueryMinInitialDeposit() *cobra.Command {
return &cobra.Command{
cmd := &cobra.Command{
Use: "min-initial-deposit",
Args: cobra.ExactArgs(0),
Short: "Query the minimum initial deposit needed for a proposal to enter deposit period",
Expand Down Expand Up @@ -828,4 +832,6 @@ $ %s query gov min-initial-deposit
return clientCtx.PrintProto(resp)
},
}
flags.AddQueryFlagsToCmd(cmd)
return cmd
}
Loading