Skip to content

Commit

Permalink
Do not add --image-download always flag if -k is present.
Browse files Browse the repository at this point in the history
  • Loading branch information
jimmygchen committed Jul 18, 2024
1 parent e8e113e commit bf0a679
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion scripts/local_testnet/start_local_testnet.sh
Original file line number Diff line number Diff line change
Expand Up @@ -75,11 +75,14 @@ else
echo "Not rebuilding Lighthouse Docker image."
fi

IMAGE_DOWNLOAD_FLAG=""

if [ "$KEEP_ENCLAVE" = false ]; then
# Stop local testnet
kurtosis enclave rm -f $ENCLAVE_NAME 2>/dev/null || true
IMAGE_DOWNLOAD_FLAG="--image-download always"
fi

kurtosis run --enclave $ENCLAVE_NAME github.com/ethpandaops/ethereum-package --image-download always --args-file $NETWORK_PARAMS_FILE
kurtosis run --enclave $ENCLAVE_NAME github.com/ethpandaops/ethereum-package $IMAGE_DOWNLOAD_FLAG --args-file $NETWORK_PARAMS_FILE

echo "Started!"

0 comments on commit bf0a679

Please sign in to comment.