Skip to content

Commit

Permalink
add shasum for genesis, improve formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
verabehr committed Apr 17, 2024
1 parent 8d4de0d commit fb72c6d
Showing 1 changed file with 51 additions and 38 deletions.
89 changes: 51 additions & 38 deletions racer/INSTRUCTIONS.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,15 @@
1. `sudo service palomad stop`
2. `sudo service pigeond stop`
3. Download the latest paloma v1.13.1 from 04/16/2024 release date.
```shell
wget -O - https://github.com/palomachain/paloma/releases/download/v1.13.1/paloma_Linux_x86_64.tar.gz | \
sudo tar -C /usr/local/bin -xvzf - palomad
sudo chmod +x /usr/local/bin/palomad
```
4. If you're building from source, you'll need to delete the directory and reclone
1. Stop paloma and pigeon services
```shell
sudo service palomad stop
sudo service pigeond stop
```
2. Download the latest paloma v1.13.1 from 04/16/2024 release date.
```shell
wget -O - https://github.com/palomachain/paloma/releases/download/v1.13.1/paloma_Linux_x86_64.tar.gz | \
sudo tar -C /usr/local/bin -xvzf - palomad
sudo chmod +x /usr/local/bin/palomad
```
3. If you're building from source, you'll need to delete the directory and reclone
```shell
rm -rf paloma
git clone https://github.com/palomachain/paloma.git
Expand All @@ -15,38 +18,48 @@
make build
sudo mv ./build/palomad /usr/local/bin/palomad
```
5. **Confirm that you have the correct binary**:
4. **Confirm that you have the correct binary**:
```shell
palomad version --long | grep commit
```
**Expected output `1143f40382ff1540dc134ceecf11b50af756428a`**
6. confirm that you're on pigeon v1.11.0 or download it
```shell
wget -O - https://github.com/palomachain/pigeon/releases/download/v1.11.0/pigeon_Linux_x86_64.tar.gz | \
sudo tar -C /usr/local/bin -xvzf - pigeon
sudo chmod +x /usr/local/bin/pigeon
```
7. Update the chain id id in the `~/.pigeon/config.yaml` file to `racer`
8. Optional if using: update chain id in `~/.paloma/config/client.toml` to `racer`
9. Add persistent peers:
1. update `~/.paloma/config/config.toml`
1. Line 215: add
```
persistent_peers = "[email protected]:10656, [email protected]:54056, [email protected]:10656, [email protected]:26656, [email protected]:26656, [email protected]:26656, [email protected]:56105"
```
10. Get new genesis
```shell
wget -O ~/.paloma/config/genesis.json https://raw.githubusercontent.com/palomachain/mainnet/master/racer/genesis.json
--> **Expected output `1143f40382ff1540dc134ceecf11b50af756428a`**
5. confirm that you're on pigeon v1.11.0 or download it
```shell
wget -O - https://github.com/palomachain/pigeon/releases/download/v1.11.0/pigeon_Linux_x86_64.tar.gz | \
sudo tar -C /usr/local/bin -xvzf - pigeon
sudo chmod +x /usr/local/bin/pigeon
```
6. Update the chain id id in the `~/.pigeon/config.yaml` file to `racer`
7. Optional if using: update chain id in `~/.paloma/config/client.toml` to `racer`
8. Add persistent peers:
add the following in Line 215 of `~/.paloma/config/config.toml`
```
persistent_peers = "[email protected]:10656, [email protected]:54056, [email protected]:10656, [email protected]:26656, [email protected]:26656, [email protected]:26656, [email protected]:56105"
```
9. Get new genesis
```shell
wget -O ~/.paloma/config/genesis.json https://raw.githubusercontent.com/palomachain/mainnet master/racer/genesis.json
```
10. **VERIFY SHASUM OF GENESIS**
```shell
shasum -a 256 ~/.paloma/config/genesis.json
```
--> **Expected output `1987cfa9f45557540e702ceb1337f84ea151f0a0df2f13fe70f245f2967c15a1`**
11. **RESET TO GENESIS & REMOVE DATA**
```shell
palomad comet unsafe-reset-all --home $HOME/.paloma
```
11. **IMPORTANT**
```shell
palomad comet unsafe-reset-all --home $HOME/.paloma
12. Create an empty address book
```shell
echo '{}' > ~/.paloma/config/addrbook.json
```
12. `echo '{}' > ~/.paloma/config/addrbook.json`
13. To speed up prevote rounds and reduce the timeout delta, please update your `~/.paloma/config/config.toml`. from 500ms to 100ms. See below
```shell
#How much the timeout_precommit increases with each round
timeout_precommit_delta = "100ms"
```
14. `sudo service pigeond start`
15. `sudo service palomad start`
```shell
#How much the timeout_precommit increases with each round
timeout_precommit_delta = "100ms"
```
14. Start Paloma and Pigeon services
```shell
sudo service pigeond start
sudo service palomad start
```

0 comments on commit fb72c6d

Please sign in to comment.