Skip to content

Commit e56965c

Browse files
committed
revert adding keys in parallel
1 parent 7e51df1 commit e56965c

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

charts/devnet/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ type: application
1515
# This is the chart version. This version number should be incremented each time you make changes
1616
# to the chart and its templates, including the app version.
1717
# Versions are expected to follow Semantic Versioning (https://semver.org/)
18-
version: 0.1.12
18+
version: 0.1.13
1919

2020
# This is the version number of the application being deployed. This version number should be
2121
# incremented each time you make changes to the application. Versions are not expected to

charts/devnet/scripts/setup_genesis.sh

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,12 @@ for type in $(jq -r ". | keys[]" $KEYS_CONFIG)
1616
do
1717
for ((i=0; i<$(jq -r ".$type | length" $KEYS_CONFIG); i++))
1818
do
19-
echo "Adding key...." $(jq -r ".$type[$i].name" $KEYS_CONFIG) && \
20-
jq -r ".$type[$i].mnemonic" $KEYS_CONFIG | $CHAIN_BIN keys add $(jq -r ".$type[$i].name" $KEYS_CONFIG) --recover --keyring-backend="test" && \
21-
$CHAIN_BIN add-genesis-account $($CHAIN_BIN keys show -a $(jq -r .$type[$i].name $KEYS_CONFIG) --keyring-backend="test") $COINS --keyring-backend="test" &
19+
echo "Adding key...." $(jq -r ".$type[$i].name" $KEYS_CONFIG)
20+
jq -r ".$type[$i].mnemonic" $KEYS_CONFIG | $CHAIN_BIN keys add $(jq -r ".$type[$i].name" $KEYS_CONFIG) --recover --keyring-backend="test"
21+
$CHAIN_BIN add-genesis-account $($CHAIN_BIN keys show -a $(jq -r .$type[$i].name $KEYS_CONFIG) --keyring-backend="test") $COINS --keyring-backend="test"
2222
done
2323
done
2424

25-
echo "Sleeping before all keys are added"
26-
sleep 5
2725
NUM_KEYS=$($CHAIN_BIN keys list --keyring-backend test --output json | jq -r ". | length")
2826
echo "Number of keys added to keyring: $NUM_KEYS"
2927

0 commit comments

Comments
 (0)