Configure chain ID in stage1 genesis script
This commit is contained in:
parent
20236ddab8
commit
330c72134c
@ -55,6 +55,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
|
||||||
|
@ -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"
|
||||||
|
|
||||||
onboarding_state_file="$NODE_HOME/stage0-onboarding-state.json"
|
onboarding_state_file="$NODE_HOME/stage0-onboarding-state.json"
|
||||||
|
Loading…
Reference in New Issue
Block a user