Add config for laconicd chain ID #15

Merged
nabarun merged 3 commits from deep-stack/fixturenet-laconicd-stack:ng-chain-id into main 2024-10-09 12:02:25 +00:00
3 changed files with 6 additions and 2 deletions

View File

@ -14,6 +14,7 @@ services:
AUTHORITY_GRACE_PERIOD: ${AUTHORITY_GRACE_PERIOD} AUTHORITY_GRACE_PERIOD: ${AUTHORITY_GRACE_PERIOD}
GENESIS_FILE: /var/tmp/genesis.json GENESIS_FILE: /var/tmp/genesis.json
MONIKER: ${MONIKER:-localtestnet} MONIKER: ${MONIKER:-localtestnet}
CHAINID: ${CHAINID:-laconic_9000-1}
volumes: volumes:
- laconicd-data:/root/.laconicd - laconicd-data:/root/.laconicd
- genesis-config:/var/tmp - genesis-config:/var/tmp

View File

@ -116,6 +116,9 @@ Instructions for running a laconicd fixturenet along with registry CLI and conso
# Node moniker (default: "localtestnet") # Node moniker (default: "localtestnet")
MONIKER= MONIKER=
# Chain ID of the network (default: "laconic_9000-1")
CHAINID=
``` ```
* Inside the `laconic-console-deployment` deployment directory, open `config.env` file and set following env variables: * Inside the `laconic-console-deployment` deployment directory, open `config.env` file and set following env variables:

View File

@ -6,8 +6,8 @@ set -u
# Note: Needs to be run in a docker container with image cerc/laconicd:local # Note: Needs to be run in a docker container with image cerc/laconicd:local
CHAINID="laconic_9000-1" CHAINID=${CHAINID:-"laconic_9000-1"}
STAGE1_MONIKER=localtestnet-stage-1 STAGE1_MONIKER=${MONIKER:-"localtestnet-stage-1"}
NODE_HOME="/root/.laconicd" NODE_HOME="/root/.laconicd"
stage1_participants_file="$NODE_HOME/stage1-participants.json" stage1_participants_file="$NODE_HOME/stage1-participants.json"