diff --git a/.pending/bugfixes/gaiacli/3883-Remove-Height-F b/.pending/bugfixes/gaiacli/3883-Remove-Height-F new file mode 100644 index 000000000000..3b266da54224 --- /dev/null +++ b/.pending/bugfixes/gaiacli/3883-Remove-Height-F @@ -0,0 +1 @@ +#3883 Remove Height Flag from CLI Queries \ No newline at end of file diff --git a/client/flags.go b/client/flags.go index 62d912908ea1..24a4206ca9b0 100644 --- a/client/flags.go +++ b/client/flags.go @@ -62,7 +62,6 @@ func GetCommands(cmds ...*cobra.Command) []*cobra.Command { c.Flags().Bool(FlagTrustNode, false, "Trust connected full node (don't verify proofs for responses)") c.Flags().Bool(FlagUseLedger, false, "Use a connected Ledger device") c.Flags().String(FlagNode, "tcp://localhost:26657", ": to tendermint rpc interface for this chain") - c.Flags().Int64(FlagHeight, 0, "block height to query, omit to get most recent provable block") viper.BindPFlag(FlagTrustNode, c.Flags().Lookup(FlagTrustNode)) viper.BindPFlag(FlagUseLedger, c.Flags().Lookup(FlagUseLedger)) viper.BindPFlag(FlagNode, c.Flags().Lookup(FlagNode)) diff --git a/docs/gaia/gaiacli.md b/docs/gaia/gaiacli.md index ba24567d849a..7e4354c3c230 100644 --- a/docs/gaia/gaiacli.md +++ b/docs/gaia/gaiacli.md @@ -374,8 +374,6 @@ Or if you want to check all your current delegations with disctinct validators: gaiacli query staking delegations ``` -You can also get previous delegation(s) status by adding the `--height` flag. - #### Unbond Tokens If for any reason the validator misbehaves, or you just want to unbond a certain amount of tokens, use this following command. You can unbond a specific `shares-amount` (eg:`12.1`\) or a `shares-fraction` (eg:`0.25`) with the corresponding flags. @@ -410,8 +408,6 @@ Additionally, as you can get all the unbonding-delegations from a particular val gaiacli query staking unbonding-delegations-from ``` -To get previous unbonding-delegation(s) status on past blocks, try adding the `--height` flag. - #### Redelegate Tokens A redelegation is a type delegation that allows you to bond illiquid tokens from one validator to another: @@ -449,8 +445,6 @@ Additionally, as you can get all the outgoing redelegations from a particular va gaiacli query staking redelegations-from ``` -To get previous redelegation(s) status on past blocks, try adding the `--height` flag. - #### Query Parameters Parameters define high level settings for staking. You can get the current values by using: diff --git a/docs/translations/kr/gaia/gaiacli.md b/docs/translations/kr/gaia/gaiacli.md index db768b7209c3..5d144510b698 100755 --- a/docs/translations/kr/gaia/gaiacli.md +++ b/docs/translations/kr/gaia/gaiacli.md @@ -371,8 +371,6 @@ gaiacli query staking delegation gaiacli query staking delegation ``` -과거 위임 기록에 대해서는 `--height` 플래그를 추가 하셔서 해당 블록 높이에 대한 기록을 조회하실 수 있습니다. - #### 토큰 언본딩 하기 만약 특정 검증인이 악의적인 행동을 했거나 또는 본인이 개인적인 이유로 일부 토큰을 언본딩을 워하는 경우 다음 명령어를 통해 토큰을 언본딩 할 수 있습니다. 언본딩은 정확한 수량인 `shares-amount`(예시, `12.1`) 또는 언본딩을 원하는 물량의 비율인 `shares-fraction`(예시, `0.25`) 값으로 표현될 수 있습니다. @@ -408,8 +406,6 @@ gaiacli query staking unbonding-delegations gaiacli query staking unbonding-delegations-from ``` -과거 언본딩 정보는 `--height` 플래그를 통해서 특정 블록 높이에 대한 언본딩 정보를 조회할 수 있습니다. - #### 재위임(Redelegate) 하기 재위임이란 본딩 되어있는 토큰을 한 검증인으로 부터 다른 검증인으로 옮기는 것입니다: @@ -447,8 +443,6 @@ gaiacli query staking redelegations ``` -과거 재위임에 대한 정보는 다른 트랜잭션과 동일하게 `--height` 플래그를 이용하여 특정 블록 높이에 대한 재위임 정보를 확인하실 수 있습니다. - #### 파라미터 조회 파라미터는 스테이킹의 하이-레벨 설정을 정의합니다. 현재 값은 다음 명령어를 통해서 조회할 수 있습니다: