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: update validator setup instructions #123

Merged
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
16 changes: 8 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,12 +37,12 @@ mv claim-passage-genesis.json <chain-id>/genesis.json

### Requirements

Check out these [instructions](./passage-1/README.md#node-requirements) for installing `passage@v1.0.0`
Check out these [instructions](./passage-2/README.md#node-requirements) for installing `passage@v2.2.0`

If you haven't initialized your node, init passage chain by running

```sh
passage init --chain-id passage-1 <my_node_moniker>
passage init --chain-id passage-2 <my_node_moniker>
```

### Start your validator node
Expand All @@ -56,22 +56,22 @@ passage init --chain-id passage-1 <my_node_moniker>
```sh
name: passage
server_name: passage
version: v1.0.0
commit: 6ae7171e42f24203dc11369e7aef6d590bd09a47
version: v2.2.0
commit: 5377e66a3d7d2eafe7aad19299a6d9985ae63604
build_tags: netgo,ledger
go: go version go1.17 linux/amd64
go: go version go1.20.6 linux/amd64
```

- Step-2: Download the mainnet genesis
```sh
curl -s https://raw.githubusercontent.com/envadiv/mainnet/main/passage-1/genesis.json > ~/.passage/config/genesis.json
curl -s https://raw.githubusercontent.com/envadiv/mainnet/main/passage-2/genesis.json > ~/.passage/config/genesis.json
```

- Step-3: Verify genesis
```sh
jq -S -c -M '' ~/.passage/config/genesis.json | shasum -a 256
```
It should be equal to the contents in [checksum](passage-1/checksum.txt)
It should be equal to the contents in [checksum](passage-2/checksum.txt)

- Step-4: Update seeds and persistent peers

Expand Down Expand Up @@ -146,7 +146,7 @@ passage tx staking create-validator \
--amount=9000000upasg \
--pubkey=$(passage tendermint show-validator) \
--moniker="<your_moniker>" \
--chain-id=passage-1 \
--chain-id=passage-2 \
--commission-rate="0.05" \
--commission-max-rate="0.10" \
--commission-max-change-rate="0.01" \
Expand Down
10 changes: 5 additions & 5 deletions passage-2/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ mkdir -p $GOPATH/src/github.com/envadiv
cd $GOPATH/src/github.com/envadiv
git clone https://github.com/envadiv/Passage3D && cd Passage3D
git fetch
git checkout v2.0.0
git checkout v2.2.0
make install
```

Expand All @@ -66,8 +66,8 @@ it should display the following details:
```sh
name: passage
server_name: passage
version: v2.0.0
commit: a8148052a7aed65b45c453bf3accb5bafb496a11
version: v2.2.0
commit: 5377e66a3d7d2eafe7aad19299a6d9985ae63604
build_tags: netgo ledger,
go: go version go1.20.6 linux/amd64
```
Expand All @@ -90,8 +90,8 @@ It should be equal to the contents in [checksum](checksum.txt)
Open `~/.passage/config/config.toml` and update `seeds` (comma separated list)

```
ad9f93c38fafff854cdd65741df556d043dd6edb@5.161.71.7:26656
fbdcc82eeacc81f9ef7d77d22120f4567457c850@5.161.184.142:26656
b6beabfb9309330944f44a1686742c2751748b83@5.161.71.7:26656
aebb8431609cb126a977592446f5de252d8b7fa1@104.236.201.138:26656
```
#### Start the passage services
Expand Down
Loading