Skip to content

Commit

Permalink
doc: update validators docs
Browse files Browse the repository at this point in the history
  • Loading branch information
sameh-farouk committed Sep 20, 2024
1 parent 5f0c437 commit cb01f63
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
5 changes: 3 additions & 2 deletions docs/misc/adding_validators.md
Original file line number Diff line number Diff line change
Expand Up @@ -350,13 +350,14 @@ Example systemd file:
Restart=always
RestartSec=1
User=user
ExecStart=/home/user/tfchain/substrate-node/target/release/tfchain --chain /home/user/tfchain/substrate-node/chainspecs/dev/chainSpec.json --pruning=archive --bootnodes /ip4/185.206.122.7/tcp/30333/p2p/12D3KooWLcMLBg9itjQL1EXsAqkJFPhqESHqJKY7CBKmhhhL8fdp --validator --telemetry-url 'wss://shard1.telemetry.tfchain.grid.tf/submit 1'
ExecStart=/home/user/tfchain/substrate-node/target/release/tfchain --chain /home/user/tfchain/substrate-node/chainspecs/main/chainSpecRaw.json <...>
[Install]
WantedBy=multi-user.target
```

Replace `user` by your username.
- Replace `user` by your username.
- Replace `<...>` by the rest of the tfchain start command args

```bash
sudo vim /etc/systemd/system/tfchain.service
Expand Down
5 changes: 3 additions & 2 deletions docs/misc/validatorship.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ Bonding an account is optional, you can skip this step and continue to the next

## 5 Apply for a Validatorship

- Now go to `Developer` -> `Extrinsicis` and Select your `VALIDATOR_ACCOUNT` account. Now from the left dropdown (modules) search `validator` and select the method: `createValidator(...)`
- Now go to `Developer` -> `Extrinsicis` and Select your `VALIDATOR_ACCOUNT` account. Now from the left dropdown (modules) search `validator` and select the method: `createValidatorRequest(...)`
- This call needs to be signed with your account (`VALIDATOR_ACCOUNT`) that manages the Validator and manages your council membership (voting). (You previously created).
- Information needed:
- validator\_node\_account: Account ID generated from previous step (`VALIDATOR_NODE_ACCOUNT`)
Expand All @@ -50,7 +50,8 @@ Bonding an account is optional, you can skip this step and continue to the next

If your request is approved by the council AND your tfchain node is fully synced with the network you can activate your validator. This will kickstart block production after 2 era.

- go to `Developer` -> `Extrinsicis` and Select your account that manages the Validator and manages your council membership (voting). (You previously created).. Now from the left dropdown (modules) search `validator`.
- go to `Developer` -> `Extrinsicis` and Select your `VALIDATOR_ACCOUNT` that manages the Validator and manages your council membership.
- Now from the left dropdown (modules) search `validator`.
- Select `ActivateValidatorNode` and click Submit Transaction.

![activate](../assets/activate.png)

0 comments on commit cb01f63

Please sign in to comment.