From fd984df1ed9d37d7ef4d9466afaecaa44e5e7108 Mon Sep 17 00:00:00 2001 From: Hyoung-yoon Kim Date: Thu, 19 Oct 2023 10:26:41 -0400 Subject: [PATCH] fix: set chain id for validator nodes --- scripts/testnet/create_genesis.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/testnet/create_genesis.sh b/scripts/testnet/create_genesis.sh index bbd8de6e..0a7bd422 100755 --- a/scripts/testnet/create_genesis.sh +++ b/scripts/testnet/create_genesis.sh @@ -56,7 +56,7 @@ for i in ${!MONIKERS[@]}; do INDIVIDUAL_VAL_HOME_DIR=$NODE_DIR/${MONIKERS[$i]} INDIVIDUAL_VAL_CONFIG_DIR="$INDIVIDUAL_VAL_HOME_DIR/config" - $BIN init new ${MONIKERS[$i]} --home $INDIVIDUAL_VAL_HOME_DIR + $BIN init new ${MONIKERS[$i]} --home $INDIVIDUAL_VAL_HOME_DIR --chain-id $CHAIN_ID $BIN keys add ${MONIKERS[$i]} --keyring-backend=test --home $INDIVIDUAL_VAL_HOME_DIR VALIDATOR_ADDRESS=$($BIN keys show ${MONIKERS[$i]} --keyring-backend test --home $INDIVIDUAL_VAL_HOME_DIR -a)