Skip to content

Commit

Permalink
fixes after review
Browse files Browse the repository at this point in the history
  • Loading branch information
axenteoctavian committed Jan 23, 2024
1 parent 53cf875 commit e9532c1
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion scripts/testnet/deployFullStackSovereignChainWithScreen.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,11 @@ sed -i 's/export USE_TXGEN=[01]/export USE_TXGEN=1/' variables.sh
sed -i 's/export USE_PROXY=[01]/export USE_PROXY=1/' variables.sh
sed -i 's/export USE_ELASTICSEARCH=[01]/export USE_ELASTICSEARCH=1/' variables.sh
sed -i 's/export SOVEREIGN_DEPLOY=[01]/export SOVEREIGN_DEPLOY=1/' variables.sh
sed -i 's/export SHARD_VALIDATORCOUNT=[0-2]/export SHARD_VALIDATORCOUNT=3/' variables.sh

source variables.sh
if [ "$SHARD_VALIDATORCOUNT" -lt 3 ]; then
sed -i 's/export SHARD_VALIDATORCOUNT=.*/export SHARD_VALIDATORCOUNT=3/' variables.sh
fi

echo -e "${GREEN}Generating the configuration files...${NC}"
./config.sh
Expand Down

0 comments on commit e9532c1

Please sign in to comment.