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
18
18
case ${NETWORK} in
19
19
mainnet|preprod) __path=release-${NETWORK} ;;
20
20
preview) __path=pre-release-${NETWORK} ;;
21
+ sanchonet) __path=testing-${NETWORK} ;;
21
22
* ) echo " Mithril not supported on ${NETWORK} ... skipping" ; __skip=true ;;
22
23
esac
23
24
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)
25
26
export AGGREGATOR_ENDPOINT=https://aggregator.${__path} .api.mithril.network/aggregator
26
27
export SNAPSHOT_DIGEST=$( mithril-client snapshot list --json | jq -r ' .[0].digest' )
27
28
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
46
46
case ${CARDANO_NETWORK} in
47
47
mainnet|preprod) __path=release-${CARDANO_NETWORK} ;;
48
48
preview) __path=pre-release-${CARDANO_NETWORK} ;;
49
+ sanchonet) __path=testing-${CARDANO_NETWORK} ;;
49
50
esac
50
51
AGGREGATOR_ENDPOINT=${AGGREGATOR_ENDPOINT:- https:// aggregator.${__path} .api.mithril.network/ aggregator}
51
52
GENESIS_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