Skip to content

Commit

Permalink
fix: use correct name for rate limiter flag query (#2367)
Browse files Browse the repository at this point in the history
* fix: use correct name for rate limiter flag query

* make generate

* Update x/crosschain/client/cli/query_rate_limiter_flags.go

Co-authored-by: Tanmay <[email protected]>

* make generate

---------

Co-authored-by: Tanmay <[email protected]>
  • Loading branch information
lumtis and kingpinXD authored Jun 24, 2024
1 parent 3eb36cd commit 3a96ba6
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion docs/cli/zetacored/zetacored_query_crosschain.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,5 +41,5 @@ zetacored query crosschain [flags]
* [zetacored query crosschain show-gas-price](zetacored_query_crosschain_show-gas-price.md) - shows a gasPrice
* [zetacored query crosschain show-inbound-hash-to-cctx](zetacored_query_crosschain_show-inbound-hash-to-cctx.md) - shows a inboundHashToCctx
* [zetacored query crosschain show-outbound-tracker](zetacored_query_crosschain_show-outbound-tracker.md) - shows an outbound tracker
* [zetacored query crosschain update_rate_limit_flags](zetacored_query_crosschain_update_rate_limit_flags.md) - shows the rate limiter flags
* [zetacored query crosschain show-rate-limiter-flags](zetacored_query_crosschain_show-rate-limiter-flags.md) - shows the rate limiter flags

Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
# query crosschain update_rate_limit_flags
# query crosschain show-rate-limiter-flags

shows the rate limiter flags

```
zetacored query crosschain update_rate_limit_flags [flags]
zetacored query crosschain show-rate-limiter-flags [flags]
```

### Options
Expand All @@ -12,7 +12,7 @@ zetacored query crosschain update_rate_limit_flags [flags]
--grpc-addr string the gRPC endpoint to use for this chain
--grpc-insecure allow gRPC over insecure channels, if not TLS the server must use TLS
--height int Use a specific height to query state at (this can error if the node is pruning state)
-h, --help help for update_rate_limit_flags
-h, --help help for show-rate-limiter-flags
--node string [host]:[port] to Tendermint RPC interface for this chain
-o, --output string Output format (text|json)
```
Expand Down
2 changes: 1 addition & 1 deletion x/crosschain/client/cli/query_rate_limiter_flags.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import (

func CmdShowUpdateRateLimiterFlags() *cobra.Command {
cmd := &cobra.Command{
Use: "update_rate_limit_flags",
Use: "show-rate-limiter-flags",
Short: "shows the rate limiter flags",
RunE: func(cmd *cobra.Command, _ []string) error {
clientCtx := client.GetClientContextFromCmd(cmd)
Expand Down

0 comments on commit 3a96ba6

Please sign in to comment.