From f9bc170fb8766c607068a5656690a29178d3579a Mon Sep 17 00:00:00 2001 From: sjors-lemniscap Date: Thu, 4 Aug 2022 19:07:56 +0200 Subject: [PATCH] Resolve comment for PR #57 --- testnet/genesis-validators.md | 22 ++++++++++++++++++---- 1 file changed, 18 insertions(+), 4 deletions(-) diff --git a/testnet/genesis-validators.md b/testnet/genesis-validators.md index d1334e0c..de7a947e 100644 --- a/testnet/genesis-validators.md +++ b/testnet/genesis-validators.md @@ -98,6 +98,23 @@ server_name: chibaclonkd ## Initialize Validator Node +**Not required if you have already initialized before** + +```sh +# Initialize the validator node +chibaclonkd init --chain-id chibaclonk_81337-3 +``` + +Running the above commands will initialize the validator node with default configuration. The config files will be saved in the default location (`~/.chibaclonkd/config`). + +**NOTE:** Backup your node and validator keys. You will need to use these keys at a later point in time. + +--- + +## Overwrite Validator Initialization from previous testnet + +**Required for `chibaclonk_81337-3`** + First we have to reset the previous genesis state (only because the `chibaclonk_81337-2` testnet failed) whereafter we can initialize the validator node for `chibaclonk_81337-3` ```sh @@ -115,12 +132,9 @@ rm $HOME/.chibaclonkd/config/gentx/gentx*.json # Overwrite your genesis state with the new chain-id chibaclonkd init --overwrite --chain-id chibaclonk_81337-3 - -# Initialize the validator node -chibaclonkd init --chain-id chibaclonk_81337-3 ``` -Running the above commands will initialize the validator node with default configuration. The config files will be saved in the default location (`~/.chibaclonkd/config`). +Running the above commands will re-initialize the validator node with default configuration. The config files will be saved in the default location (`~/.chibaclonkd/config`). **NOTE:** Backup your node and validator keys. You will need to use these keys at a later point in time.