File tree Expand file tree Collapse file tree 3 files changed +4
-1
lines changed Expand file tree Collapse file tree 3 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -18,10 +18,11 @@ if ! test -e /data/db/protocolMagicId; then
1818 case ${NETWORK} in
1919 mainnet|preprod) __path=release-${NETWORK} ;;
2020 preview) __path=pre-release-${NETWORK} ;;
21+ sanchonet) __path=testing-${NETWORK} ;;
2122 * ) echo " Mithril not supported on ${NETWORK} ... skipping" ; __skip=true ;;
2223 esac
2324 if [[ ${__skip} != true ]]; then
24- export GENESIS_VERIFICATION_KEY=$( curl ${__base} / ${__path } /genesis.vkey 2> /dev/null )
25+ export GENESIS_VERIFICATION_KEY=$( < /opt/cardano/config/ ${NETWORK } /genesis.vkey)
2526 export AGGREGATOR_ENDPOINT=https://aggregator.${__path} .api.mithril.network/aggregator
2627 export SNAPSHOT_DIGEST=$( mithril-client snapshot list --json | jq -r ' .[0].digest' )
2728 mkdir -p /data
Original file line number Diff line number Diff line change @@ -46,6 +46,7 @@ CARDANO_TOPOLOGY=${CARDANO_TOPOLOGY:-${CARDANO_CONFIG_BASE}/${CARDANO_NETWORK}/t
4646case ${CARDANO_NETWORK} in
4747 mainnet|preprod) __path=release-${CARDANO_NETWORK} ;;
4848 preview) __path=pre-release-${CARDANO_NETWORK} ;;
49+ sanchonet) __path=testing-${CARDANO_NETWORK} ;;
4950esac
5051AGGREGATOR_ENDPOINT=${AGGREGATOR_ENDPOINT:- https:// aggregator.${__path} .api.mithril.network/ aggregator}
5152GENESIS_VERIFICATION_KEY_PATH=${GENESIS_VERIFICATION_KEY_PATH:- ${CARDANO_CONFIG_BASE} / ${CARDANO_NETWORK} / genesis.vkey}
Original file line number Diff line number Diff line change 1+ 5b3132372c37332c3132342c3136312c362c3133372c3133312c3231332c3230372c3131372c3139382c38352c3137362c3139392c3136322c3234312c36382c3132332c3131392c3134352c31332c3233322c3234332c34392c3232392c322c3234392c3230352c3230352c33392c3233352c34345d
You can’t perform that action at this time.
0 commit comments