Skip to content

Commit

Permalink
add rest query the block config and add height
Browse files Browse the repository at this point in the history
  • Loading branch information
lyh169 committed Sep 1, 2023
1 parent 7d0d0cd commit faa0e4d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions x/params/client/cli/query.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ $ exchaincli query params params
Args: cobra.NoArgs,
RunE: func(_ *cobra.Command, _ []string) error {
cliCtx := context.NewCLIContext().WithCodec(cdc)

route := fmt.Sprintf("custom/%s/%s", queryRoute, types.QueryParams)
bz, _, err := cliCtx.QueryWithData(route, nil)
if err != nil {
Expand Down

0 comments on commit faa0e4d

Please sign in to comment.