proto: Consistent naming for Params (#6803)
* Use consistent "Params" in proto * Update comments Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
This commit is contained in:
co-authored by
Federico Kunze
parent
0ccc48d2a3
commit
61d0c4adcd
@@ -41,8 +41,8 @@ func NewQuerySubspaceParamsCmd() *cobra.Command {
|
||||
}
|
||||
queryClient := proposal.NewQueryClient(clientCtx)
|
||||
|
||||
params := proposal.NewQueryParametersRequest(args[0], args[1])
|
||||
res, err := queryClient.Parameters(context.Background(), params)
|
||||
params := proposal.QueryParamsRequest{Subspace: args[0], Key: args[1]}
|
||||
res, err := queryClient.Params(context.Background(), ¶ms)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user