Update generated genesis file permission

This commit is contained in:
Shreerang Kale 2025-05-15 16:33:32 +05:30
parent be2133576b
commit b068d21cec
3 changed files with 19 additions and 1 deletions

View File

@ -5,6 +5,14 @@
- [ansible](playbooks/README.md#ansible-installation) - [ansible](playbooks/README.md#ansible-installation)
- [laconic-so](https://github.com/cerc-io/stack-orchestrator/?tab=readme-ov-file#install) - [laconic-so](https://github.com/cerc-io/stack-orchestrator/?tab=readme-ov-file#install)
## Stop testnet node
- Stop the testnet node:
```bash
laconic-so deployment --dir <testnet-deployment-dir> stop
```
## Generate mainnet genesis file ## Generate mainnet genesis file
- Fetch the stack in machine where the testnet chain node is running: - Fetch the stack in machine where the testnet chain node is running:
@ -115,7 +123,7 @@
- Copy the genesis file to [genesis](./genesis) folder: - Copy the genesis file to [genesis](./genesis) folder:
```bash ```bash
sudo cp $DATA_DIRECTORY/$MAINNET_DEPLOYMENT_DIR/data/laconicd-data/config/genesis.json ./genesis/mainnet-genesis.json sudo cp $DATA_DIRECTORY/$MAINNET_DEPLOYMENT_DIR/data/laconicd-data/config/genesis.json ~/cerc/laconicd-stack/genesis/mainnet-genesis.json
``` ```
- Get your node's address: - Get your node's address:

View File

@ -5,6 +5,14 @@
- [ansible](playbooks/README.md#ansible-installation) - [ansible](playbooks/README.md#ansible-installation)
- [laconic-so](https://github.com/cerc-io/stack-orchestrator/?tab=readme-ov-file#install) - [laconic-so](https://github.com/cerc-io/stack-orchestrator/?tab=readme-ov-file#install)
## Stop testnet node
- Stop the testnet node:
```bash
laconic-so deployment --dir <testnet-deployment-dir> stop
```
## Run node ## Run node
- Fetch the stack: - Fetch the stack:

View File

@ -63,5 +63,7 @@ laconicd genesis gentx $KEY_NAME $stake_amount$DENOM --chain-id $CHAIN_ID --keyr
laconicd genesis collect-gentxs laconicd genesis collect-gentxs
laconicd genesis validate laconicd genesis validate
chmod 777 $genesis_file_path
# Update the input genesis file # Update the input genesis file
cp $genesis_file_path $input_genesis_file cp $genesis_file_path $input_genesis_file