Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Chore/instructions #244

Merged
merged 4 commits into from
Apr 16, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 22 additions & 10 deletions racer/INSTRUCTIONS.md
Original file line number Diff line number Diff line change
@@ -1,28 +1,40 @@
1. `sudo service palomad stop`
2. `sudo service pigeond stop`
3. Download paloma v1.13.1 from 04/15/2024 release date
3. Download the latest paloma v1.13.1 from 04/16/2024 release date. You can check that you have the correct version with `palomad version --long | grep commit`. The commit hash is `1143f40382ff1540dc134ceecf11b50af756428a`
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could we please put the commit hash number in bold and also add instructions to check their palaomd after build with the command palomad version --long | tail to confirm they have the correct hash BEFORE starting their node.

```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. confirm that you're on pigeon v1.11.0 or download it
4. 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
cd paloma
git checkout v1.13.1
make build
sudo mv ./build/palomad /usr/local/bin/palomad
```
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
```
5. update the chain id id in the `~/.pigeon/config.yaml` file to `racer`
6. Optional if using: update chain id in `~/.paloma/config/client.toml` to `racer`
7. Add persistent peers:
1. update the chain id id in the `~/.pigeon/config.yaml` file to `racer`
2. Optional if using: update chain id in `~/.paloma/config/client.toml` to `racer`
3. 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"
```
8. Get new genesis
4. Get new genesis
1. `wget -O ~/.paloma/config/genesis.json https://raw.githubusercontent.com/palomachain/mainnet/master/racer/genesis.json`
9. **`palomad comet unsafe-reset-all --home $HOME/.paloma`**
10. `echo '{}' > ~/.paloma/config/addrbook.json`
11. `sudo service pigeond start`
12. `sudo service palomad start`
5. **IMPORTANT**
```shell
palomad comet unsafe-reset-all --home $HOME/.paloma`
```
6. `echo '{}' > ~/.paloma/config/addrbook.json`
7. `sudo service pigeond start`
8. `sudo service palomad start`