Skip to content

Commit 3cc9c6a

Browse files
authored
Merge pull request #125 from blinklabs-io/feat/skip-restore-network
feat: support skipping mithril on quick path
2 parents e28274b + d02548c commit 3cc9c6a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

bin/run-network

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,10 @@ esac
1515
# Mithril
1616
if ! test -e /data/db/protocolMagicId; then
1717
__base=https://raw.githubusercontent.com/input-output-hk/mithril/main/mithril-infra/configuration
18+
RESTORE_NETWORK=${RESTORE_NETWORK:-true}
19+
if [[ ${RESTORE_NETWORK} != true ]]; then
20+
__skip=true
21+
fi
1822
case ${NETWORK} in
1923
mainnet|preprod) __path=release-${NETWORK} ;;
2024
preview) __path=pre-release-${NETWORK} ;;

0 commit comments

Comments
 (0)