Allow running the reset_testnet script outside of the Nimbus env [skip ci]

This commit is contained in:
Zahary Karadjov 2019-11-11 13:03:02 +00:00 committed by zah
parent 7df6c241a7
commit 88010a1cd1
1 changed files with 2 additions and 2 deletions

View File

@ -89,7 +89,7 @@ $DOCKER_BEACON_NODE \
COMMITTED_FILES=" genesis.ssz bootstrap_nodes.txt "
if [[ ! -z "$DEPOSIT_CONTRACT_ADDRESS" ]]; then
echo $DEPOSIT_CONTRACT_ADDRESS > "$ETH2_TESTNETS_ABS/deposit_contract.txt"
echo $DEPOSIT_CONTRACT_ADDRESS > "$ETH2_TESTNETS_ABS/nimbus/$NETWORK_NAME/deposit_contract.txt"
COMMITTED_FILES+=" deposit_contract.txt "
fi
@ -98,7 +98,7 @@ if [[ $PUBLISH_TESTNET_RESETS != "0" ]]; then
# TODO If we try to use direct piping here, bash doesn't execute all of the commands.
# The reasons for this are unclear at the moment.
nim --verbosity:0 manage_testnet_hosts.nims reset_network \
../env.sh nim --verbosity:0 manage_testnet_hosts.nims reset_network \
--network=$NETWORK_NAME \
--deposits-dir="$DEPOSITS_DIR_ABS" \
--network-data-dir="$NETWORK_DIR_ABS" \