Update steps for publishing artifacts

This commit is contained in:
Shreerang Kale 2025-06-10 15:30:45 +05:30
parent 885171d328
commit f37d0ad776

View File

@ -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'