diff --git a/charts/devnet/scripts/default/create-genesis.sh b/charts/devnet/scripts/default/create-genesis.sh index d2d0620cc..c15704865 100644 --- a/charts/devnet/scripts/default/create-genesis.sh +++ b/charts/devnet/scripts/default/create-genesis.sh @@ -24,8 +24,8 @@ $CHAIN_BIN $CHAIN_GENESIS_CMD add-genesis-account $($CHAIN_BIN keys show -a $(jq # Add faucet key to the keyring and self delegate initial coins echo "Adding key...." $(jq -r ".faucet[0].name" $KEYS_CONFIG) -jq -r ".genesis[0].mnemonic" $KEYS_CONFIG | $CHAIN_BIN keys add $(jq -r ".genesis[0].name" $KEYS_CONFIG) --recover --keyring-backend="test" -$CHAIN_BIN $CHAIN_GENESIS_CMD add-genesis-account $($CHAIN_BIN keys show -a $(jq -r .genesis[0].name $KEYS_CONFIG) --keyring-backend="test") $COINS --keyring-backend="test" +jq -r ".faucet[0].mnemonic" $KEYS_CONFIG | $CHAIN_BIN keys add $(jq -r ".faucet[0].name" $KEYS_CONFIG) --recover --keyring-backend="test" +$CHAIN_BIN $CHAIN_GENESIS_CMD add-genesis-account $($CHAIN_BIN keys show -a $(jq -r .faucet[0].name $KEYS_CONFIG) --keyring-backend="test") $COINS --keyring-backend="test" # Add relayer key and delegate tokens echo "Adding key...." $(jq -r ".relayers[0].name" $KEYS_CONFIG) diff --git a/charts/devnet/templates/chains/cosmos/validator.yaml b/charts/devnet/templates/chains/cosmos/validator.yaml index d13cc6e4e..18a00ea13 100644 --- a/charts/devnet/templates/chains/cosmos/validator.yaml +++ b/charts/devnet/templates/chains/cosmos/validator.yaml @@ -210,6 +210,7 @@ spec: - "-c" - "-e" - | + sleep 30 set -eux VAL_INDEX=${HOSTNAME##*-} VAL_NAME="$(jq -r ".validators[0].name" $KEYS_CONFIG)-$VAL_INDEX"