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

Add tumbler genesis file #252

Merged
merged 2 commits into from
Apr 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
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
2 changes: 2 additions & 0 deletions racer/INSTRUCTIONS.md → racer_abandoned/INSTRUCTIONS.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
Racer was abandoned in favor of tumbler when the consensus params that caused the key not found and consensus errors were removed.

1. Stop paloma and pigeon services
```shell
sudo service palomad stop
Expand Down
File renamed without changes.
65 changes: 65 additions & 0 deletions tumbler/INSTRUCTIONS.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
1. Stop paloma and pigeon services
```shell
sudo service palomad stop
sudo service pigeond stop
```
2. Download the latest paloma v1.13.2 from 04/18/2024 release date.
```shell
wget -O - https://github.com/palomachain/paloma/releases/download/v1.13.2/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
cd paloma
git checkout v1.13.2
make build
sudo mv ./build/palomad /usr/local/bin/palomad
```
4. **CONFIRM THAT YOU HAVE THE CORRECT BINARY**:
```shell
palomad version --long | grep commit
```
--> **Expected output `d49942927324392c8a3db45fa35c6f3b1ee73f24`**
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 `tumbler`
7. Optional if using: update chain id in `~/.paloma/config/client.toml` to `tumbler`
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/tumbler/genesis.json
```
10. **VERIFY SHASUM OF GENESIS**
```shell
shasum -a 256 ~/.paloma/config/genesis.json
```
--> **Expected output `61988e867740eb8d7c8451c7b1c77242fa6271801cddcaecc8f40f8cf7b9c95d`**
11. **RESET TO GENESIS & REMOVE DATA**
```shell
palomad comet unsafe-reset-all --home $HOME/.paloma
```
12. Create an empty address book
```shell
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. Start Paloma and Pigeon services
```shell
sudo service pigeond start
sudo service palomad start
```
Loading
Loading