Skip to content

Commit

Permalink
Remove advanced gaiacli command
Browse files Browse the repository at this point in the history
  • Loading branch information
mslipper committed Aug 21, 2018
1 parent 204762b commit 3c9b532
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 13 deletions.
1 change: 1 addition & 0 deletions PENDING.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ BREAKING CHANGES
* Gaia CLI (`gaiacli`)
* [x/stake] Validator.Owner renamed to Validator.Operator
* [cli] unsafe_reset_all, show_validator, and show_node_id have been renamed to unsafe-reset-all, show-validator, and show-node-id
* [cli] \#2014 `gaiacli advanced` no longer exists - to access `ibc`, `rest-server`, and `validator-set` commands use `gaiacli ibc`, `gaiacli rest-server`, and `gaiacli tendermint`, respectively

* Gaia
* Make the transient store key use a distinct store key. [#2013](https://github.com/cosmos/cosmos-sdk/pull/2013)
Expand Down
10 changes: 1 addition & 9 deletions cmd/gaia/cmd/gaiacli/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -62,18 +62,10 @@ func main() {
ibccmd.IBCRelayCmd(cdc),
)...)

advancedCmd := &cobra.Command{
Use: "advanced",
Short: "Advanced subcommands",
}

advancedCmd.AddCommand(
rootCmd.AddCommand(
tendermintCmd,
ibcCmd,
lcd.ServeCommand(cdc),
)
rootCmd.AddCommand(
advancedCmd,
client.LineBreak,
)

Expand Down
2 changes: 1 addition & 1 deletion docs/clients/lcd-rest-api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ swagger: '2.0'
info:
version: '1.1.0'
title: Gaia-Lite (former LCD) to interface with Cosmos BaseServer via REST
description: Specification for Gaia-lite provided by `gaiacli advanced rest-server`
description: Specification for Gaia-lite provided by `gaiacli rest-server`

tags:
- name: keys
Expand Down
2 changes: 1 addition & 1 deletion docs/clients/rest.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# REST

See `gaiacli advanced rest-server --help` for more.
See `gaiacli rest-server --help` for more.

Also see the
[work in progress API specification](https://github.com/cosmos/cosmos-sdk/pull/1314)
2 changes: 1 addition & 1 deletion docs/validators/validator-setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ gaiacli stake unrevoke \
Your validator is active if the following command returns anything:

```bash
gaiacli advanced tendermint validator-set | grep "$(gaiad tendermint show-validator)"
gaiacli tendermint validator-set | grep "$(gaiad tendermint show-validator)"
```

You should also be able to see your validator on the [Explorer](https://explorecosmos.network/validators). You are looking for the `bech32` encoded `address` in the `~/.gaiad/config/priv_validator.json` file.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Restart=on-failure
User=gaiad
Group=gaiad
PermissionsStartOnly=true
ExecStart=/usr/bin/gaiacli advanced rest-server --laddr {{GAIAD_ADDRESS}}
ExecStart=/usr/bin/gaiacli rest-server --laddr {{GAIAD_ADDRESS}}
ExecReload=/bin/kill -HUP $MAINPID
KillSignal=SIGTERM

Expand Down

0 comments on commit 3c9b532

Please sign in to comment.