Skip to content

Commit

Permalink
Update README.md (#407)
Browse files Browse the repository at this point in the history
  • Loading branch information
Vizualni authored Aug 16, 2022
1 parent d7a5c1a commit 5a6befc
Showing 1 changed file with 26 additions and 4 deletions.
30 changes: 26 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,28 @@ wget -O - https://github.com/palomachain/paloma/releases/download/v0.6.1/paloma_
service palomad start
```

### Upgrading from `paloma-testnet-6` to `paloma-testnet-7`
1. Stop your paloma version and get 0.6.1
```
service palomad stop
wget -O - https://github.com/palomachain/paloma/releases/download/v0.6.1/paloma_Linux_x86_64.tar.gz | \
tar -C /usr/local/bin -xvzf - palomad
```

2. Reset your local chain state:
```bash
palomad tendermint unsafe-reset-all --home $HOME/.paloma
```

3. Copy the latest genesis and addrbook
```shell
wget -O ~/.paloma/config/genesis.json https://raw.githubusercontent.com/palomachain/testnet/master/paloma-testnet-7/genesis.json
wget -O ~/.paloma/config/addrbook.json https://raw.githubusercontent.com/palomachain/testnet/master/paloma-testnet-7/addrbook.json
```

4. Ensure that the [latest pigeon](https://github.com/palomachain/pigeon#install) is up & running and that you have at least 0.01 ETH on eth mainnet target chain. Make sure to change the `chain-id: paloma-testnet-6` to `chain-id: paloma-testnet-7` in your pigeon config yaml file ([example](https://github.com/palomachain/pigeon/pull/51/files#diff-b335630551682c19a781afebcf4d07bf978fb1f8ac04c6bf87428ed5106870f5R85)).

5. Start the palomad

### Connecting to an existing testnet.

Expand All @@ -81,8 +103,8 @@ palomad init "$MONIKER"
Copy the configs of the testnet we wish to connect to

```shell
wget -O ~/.paloma/config/genesis.json https://raw.githubusercontent.com/palomachain/testnet/master/paloma-testnet-6/genesis.json
wget -O ~/.paloma/config/addrbook.json https://raw.githubusercontent.com/palomachain/testnet/master/paloma-testnet-6/addrbook.json
wget -O ~/.paloma/config/genesis.json https://raw.githubusercontent.com/palomachain/testnet/master/paloma-testnet-7/genesis.json
wget -O ~/.paloma/config/addrbook.json https://raw.githubusercontent.com/palomachain/testnet/master/paloma-testnet-7/addrbook.json
```

Next you can generate a new set of keys to the new machine, or reuse an existing key.
Expand Down Expand Up @@ -120,7 +142,7 @@ palomad tx staking create-validator \
--moniker="$MONIKER" \
--website="https://www.example.com" \
--details="<enter a description>" \
--chain-id=paloma-testnet-6 \
--chain-id=paloma-testnet-7 \
--commission-rate="0.1" \
--commission-max-rate="0.2" \
--commission-max-change-rate="0.05" \
Expand Down Expand Up @@ -190,7 +212,7 @@ apt install jq
Set up the chain validator.

```shell
CHAIN_ID=paloma-testnet-6 \
CHAIN_ID=paloma-testnet-7 \
MNEMONIC="$(cat secret.mn)" \
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/palomachain/paloma/master/scripts/setup-volume-testnet.sh)"
```
Expand Down

0 comments on commit 5a6befc

Please sign in to comment.