Add config for laconicd chain ID (#15)

Part of [Service provider auctions for web deployments](https://www.notion.so/Service-provider-auctions-for-web-deployments-104a6b22d47280dbad51d28aa3a91d75)

Co-authored-by: Nabarun <nabarun@deepstacksoft.com>
Reviewed-on: #15
Co-authored-by: Prathamesh Musale <prathamesh.musale0@gmail.com>
Co-committed-by: Prathamesh Musale <prathamesh.musale0@gmail.com>
This commit is contained in:
Prathamesh Musale 2024-10-09 12:02:25 +00:00 committed by nabarun
parent f28e95fb33
commit 78fcfff36a
3 changed files with 6 additions and 2 deletions

View File

@ -14,6 +14,7 @@ services:
AUTHORITY_GRACE_PERIOD: ${AUTHORITY_GRACE_PERIOD}
GENESIS_FILE: /var/tmp/genesis.json
MONIKER: ${MONIKER:-localtestnet}
CHAINID: ${CHAINID:-laconic_9000-1}
volumes:
- laconicd-data:/root/.laconicd
- 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")
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:

View File

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