From f37d0ad776941d492f569b25282c7c6e76be5eb0 Mon Sep 17 00:00:00 2001 From: Shreerang Kale Date: Tue, 10 Jun 2025 15:30:45 +0530 Subject: [PATCH] Update steps for publishing artifacts --- docs/run-first-validator.md | 24 +++++++++++++----------- 1 file changed, 13 insertions(+), 11 deletions(-) diff --git a/docs/run-first-validator.md b/docs/run-first-validator.md index a3d6b4c..72dc128 100644 --- a/docs/run-first-validator.md +++ b/docs/run-first-validator.md @@ -37,7 +37,7 @@ ## Setup node -- Run the following steps in the machine where the mainnet node is to be setup +- Run the following steps in the machine where the mainnet node is to be setup (machine 2) - Copy the example variables file if not already done: @@ -79,7 +79,7 @@ cerc/laconicd:local bash -c "laconicd tendermint show-validator" ``` - NOTE: This public key is required in next step to generate the genesis file + NOTE: This public key is required in [next step to generate the genesis file](#generate-mainnet-genesis-file) ## Export testnet state @@ -333,19 +333,21 @@ ## Publish required artifacts -- Copy the genesis file to [config](./config) folder: +- Run the following steps in machine where the genesis file and staking amount files are generated (machine 3) - ```bash - cp $DATA_DIRECTORY/$MAINNET_DEPLOYMENT_DIR/data/laconicd-data/config/genesis.json ~/cerc/laconicd-stack/config/mainnet-genesis.json - ``` + - Copy the genesis file to [config](./config) folder: -- Copy the staking amount file to [config](./config) folder: + ```bash + cp $DATA_DIRECTORY/output/genesis.json ~/cerc/laconicd-stack/config/mainnet-genesis.json + ``` - ```bash - cp $DATA_DIRECTORY/$MAINNET_DEPLOYMENT_DIR/data/laconicd-data/tmp/staking-amount.json ~/cerc/laconicd-stack/config/staking-amount.json - ``` + - Copy the staking amount file to [config](./config) folder: -- Get your node's address: + ```bash + cp $DATA_DIRECTORY/output/staking-amount.json ~/cerc/laconicd-stack/config/staking-amount.json + ``` + +- Get your node's address by running following command in the machine where the mainnet node is running (machine 2): ```bash laconic-so deployment --dir $DATA_DIRECTORY/$MAINNET_DEPLOYMENT_DIR exec laconicd 'echo $(laconicd cometbft show-node-id)@YOUR_PUBLIC_IP_ADDRESS:26656'