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
5 changed files with 10 additions and 2 deletions
Showing only changes of commit e60a2c1897 - Show all commits

View File

@ -79,6 +79,8 @@ echo "Calculated allocations for stage 1 chain"
docker run -it \ docker run -it \
-v ./$STAGE1_GENESIS_DIR:/root/.laconicd \ -v ./$STAGE1_GENESIS_DIR:/root/.laconicd \
-v ./scripts:/scripts \ -v ./scripts:/scripts \
-e CHAINID=$CHAINID \
-e STAGE1_MONIKER=$MONIKER \
cerc/laconicd:local bash -c "/scripts/genesis.sh" cerc/laconicd:local bash -c "/scripts/genesis.sh"
# Copy over the genesis file to output folder # Copy over the genesis file to output folder

View File

@ -35,6 +35,8 @@ echo "Copied over stage1 allocations json file to mount dir"
docker run -it \ docker run -it \
-v ./$STAGE1_GENESIS_DIR:/root/.laconicd \ -v ./$STAGE1_GENESIS_DIR:/root/.laconicd \
-v ./scripts:/scripts \ -v ./scripts:/scripts \
-e CHAINID=$CHAINID \
-e STAGE1_MONIKER=$MONIKER \
cerc/laconicd:local bash -c "/scripts/genesis.sh" cerc/laconicd:local bash -c "/scripts/genesis.sh"
# Copy over the genesis file to output folder # Copy over the genesis file to output folder

View File

@ -56,6 +56,8 @@ echo "Calculated allocations for stage 1 chain"
docker run -it \ docker run -it \
-v ./$STAGE1_GENESIS_DIR:/root/.laconicd \ -v ./$STAGE1_GENESIS_DIR:/root/.laconicd \
-v ./scripts:/scripts \ -v ./scripts:/scripts \
-e CHAINID=$CHAINID \
-e STAGE1_MONIKER=$MONIKER \
cerc/laconicd:local bash -c "/scripts/genesis.sh" cerc/laconicd:local bash -c "/scripts/genesis.sh"
# Copy over the genesis file to output folder # Copy over the genesis file to output folder

View File

@ -63,6 +63,8 @@ echo "Calculated allocations for stage 1 chain"
docker run -it \ docker run -it \
-v ./$STAGE1_GENESIS_DIR:/root/.laconicd \ -v ./$STAGE1_GENESIS_DIR:/root/.laconicd \
-v ./scripts:/scripts \ -v ./scripts:/scripts \
-e CHAINID=$CHAINID \
-e STAGE1_MONIKER=$MONIKER \
cerc/laconicd:local bash -c "/scripts/genesis.sh" cerc/laconicd:local bash -c "/scripts/genesis.sh"
# Copy over the genesis file to output folder # Copy over the genesis file to output folder

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"