code review
This commit is contained in:
parent
4742e406ae
commit
5d10a6f05b
|
@ -27,15 +27,15 @@ If you run your own full-node, just use `tcp://localhost:26657` as the address.
|
||||||
Then, let us set the default value of the `--trust-node` flag:
|
Then, let us set the default value of the `--trust-node` flag:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
gaiacli config trust-node false
|
gaiacli config trust-node true
|
||||||
|
|
||||||
// Set to true if you run a light-client node, false otherwise
|
// Set to true if you trust the full-node you are connecting to, false otherwise
|
||||||
```
|
```
|
||||||
|
|
||||||
Finally, let us set the `chain-id` of the blockchain we want to interact with:
|
Finally, let us set the `chain-id` of the blockchain we want to interact with:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
gaiacli config chain-id cosmoshub-1
|
gaiacli config chain-id cosmoshub-2
|
||||||
```
|
```
|
||||||
|
|
||||||
### Keys
|
### Keys
|
||||||
|
|
|
@ -1,9 +1,5 @@
|
||||||
# Upgrade Your Node
|
# Upgrade Your Node
|
||||||
|
|
||||||
::: warning
|
|
||||||
The detailed procedure to upgrade a mainnet node from `cosmoshub-1` to `cosmoshub-2` can be found [here](https://gist.github.com/alexanderbez/5e87886221eb304b9e85ad4b167c99c8).
|
|
||||||
:::
|
|
||||||
|
|
||||||
This document describes the upgrade procedure of a `gaiad` full-node from a version <current_version> to a version <new_version>.
|
This document describes the upgrade procedure of a `gaiad` full-node from a version <current_version> to a version <new_version>.
|
||||||
|
|
||||||
## Software Upgrade
|
## Software Upgrade
|
||||||
|
@ -30,12 +26,6 @@ Your full node has been cleanly upgraded!
|
||||||
If the version <new_version> you are upgrading to is breaking from the previous one, you will have to restart your chain. If it is not breaking, you can skip to [Restart](#restart)
|
If the version <new_version> you are upgrading to is breaking from the previous one, you will have to restart your chain. If it is not breaking, you can skip to [Restart](#restart)
|
||||||
:::
|
:::
|
||||||
|
|
||||||
The first step is to remove your current genesis:
|
|
||||||
|
|
||||||
```bash
|
|
||||||
rm $HOME/.gaiad/config/addrbook.json $HOME/.gaiad/config/genesis.json
|
|
||||||
```
|
|
||||||
|
|
||||||
The procedure varies depending on the network you want to connect to.
|
The procedure varies depending on the network you want to connect to.
|
||||||
|
|
||||||
### Mainnet
|
### Mainnet
|
||||||
|
|
Loading…
Reference in New Issue