Skip to content

Commit

Permalink
Revert "Update chain id, remove consensus params" (#251)
Browse files Browse the repository at this point in the history
Reverts #250
  • Loading branch information
verabehr authored Apr 19, 2024
1 parent 38c1029 commit 1c8a631
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 7 deletions.
8 changes: 4 additions & 4 deletions tumbler/INSTRUCTIONS.md → racer/INSTRUCTIONS.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,22 +29,22 @@
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`
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/tumbler/genesis.json
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 `61988e867740eb8d7c8451c7b1c77242fa6271801cddcaecc8f40f8cf7b9c95d`**
--> **Expected output `57ae12350e9f38d84419dccabe283704b034db1fd16e0071243edaecad0ea9c3`**
11. **RESET TO GENESIS & REMOVE DATA**
```shell
palomad comet unsafe-reset-all --home $HOME/.paloma
Expand Down
28 changes: 25 additions & 3 deletions tumbler/genesis.json → racer/genesis.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"app_name": "palomad",
"app_version": "v1.13.2",
"genesis_time": "2024-04-19T16:00:00Z",
"chain_id": "tumbler",
"genesis_time": "2023-02-08T13:00:00Z",
"chain_id": "racer",
"initial_height": 15841320,
"app_hash": "",
"app_state": {
Expand Down Expand Up @@ -240415,6 +240415,28 @@
"power": "42700049",
"name": "salomonval"
}
]
],
"params": {
"block": {
"max_bytes": "22020096",
"max_gas": "240000000"
},
"evidence": {
"max_age_num_blocks": "100000",
"max_age_duration": "172800000000000",
"max_bytes": "1048576"
},
"validator": {
"pub_key_types": [
"ed25519"
]
},
"version": {
"app": "0"
},
"abci": {
"vote_extensions_enable_height": "0"
}
}
}
}

0 comments on commit 1c8a631

Please sign in to comment.