From d78720d293aa893611442d9ab5b9bbe55308d4c0 Mon Sep 17 00:00:00 2001 From: illuminatus Date: Sat, 21 Oct 2023 13:53:05 -0700 Subject: [PATCH] FIXUP --- .../cnode-helper-scripts/mithril-signer.sh | 22 +++++++++---------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/scripts/cnode-helper-scripts/mithril-signer.sh b/scripts/cnode-helper-scripts/mithril-signer.sh index 9d55ba481..2dce24967 100755 --- a/scripts/cnode-helper-scripts/mithril-signer.sh +++ b/scripts/cnode-helper-scripts/mithril-signer.sh @@ -47,18 +47,18 @@ set_defaults() { RELEASE="pre-release" ;; esac - sudo bash -c "cat > ${MITHRIL_HOME}/service.env << EOF - AGGREGATOR_ENDPOINT="https://aggregator.${RELEASE}-${NETWORK}.api.mithril.network/aggregator" - KES_SECRET_KEY_PATH="${POOL_DIR}/${POOL_HOTKEY_SK_FILENAME}" - OPERATIONAL_CERTIFICATE_PATH="${POOL_DIR}/${POOL_OPCERT_FILENAME}" + sudo bash -c "cat <<-'EOF' > ${MITHRIL_HOME}/service.env + AGGREGATOR_ENDPOINT=https://aggregator.${RELEASE}-${NETWORK}.api.mithril.network/aggregator + KES_SECRET_KEY_PATH=${POOL_DIR}/${POOL_HOTKEY_SK_FILENAME} + OPERATIONAL_CERTIFICATE_PATH=${POOL_DIR}/${POOL_OPCERT_FILENAME} PARTY_ID=$(cat ${POOL_DIR}/${POOL_ID_FILENAME}) - DB_DIRECTORY="${CNODE_HOME}/db" - CARDANO_CLI_PATH="${HOME}/.local/bin/cardano-cli" - DATA_STORES_DIRECTORY="${MITHRIL_HOME}/data-stores" - ERA_READER_ADAPTER_TYPE="cardano-chain" - ERA_READER_ADDRESS="https://raw.githubusercontent.com/input-output-hk/mithril/main/mithril-infra/configuration/${RELEASE}-${NETWORK}/era.addr" - ERA_READER_VKEY="https://raw.githubusercontent.com/input-output-hk/mithril/main/mithril-infra/configuration/${RELEASE}-${NETWORK}/era.vkey" - ERA_READER_ADAPTER_PARAMS=$(jq -nc --arg address $(wget -q -O - "${ERA_READER_ADDRESS}") --arg verification_key $(wget -q -O - "${ERA_READER_VKEY}") '{"address": $address, "verification_key": $verification_key}') + DB_DIRECTORY=${CNODE_HOME}/db + CARDANO_CLI_PATH=${HOME}/.local/bin/cardano-cli + DATA_STORES_DIRECTORY=${MITHRIL_HOME}/data-stores + ERA_READER_ADAPTER_TYPE=cardano-chain + ERA_READER_ADDRESS=https://raw.githubusercontent.com/input-output-hk/mithril/main/mithril-infra/configuration/${RELEASE}-${NETWORK}/era.addr + ERA_READER_VKEY=https://raw.githubusercontent.com/input-output-hk/mithril/main/mithril-infra/configuration/${RELEASE}-${NETWORK}/era.vkey + ERA_READER_ADAPTER_PARAMS=$(jq -nc --arg address $(wget -q -O - "${ERA_READER_ADDRESS}") --arg verification_key $(wget -q -O - "${ERA_READER_VKEY}") '{"address": $address, "verification_key": $verification_key}') GENESIS_VERIFICATION_KEY=$(curl -s https://raw.githubusercontent.com/input-output-hk/mithril/main/mithril-infra/configuration/${RELEASE}-${NETWORK}/genesis.vkey) EOF" else