Skip to content

Commit

Permalink
FIXUP
Browse files Browse the repository at this point in the history
  • Loading branch information
TrevorBenson committed Oct 21, 2023
1 parent d526063 commit d78720d
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions scripts/cnode-helper-scripts/mithril-signer.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d78720d

Please sign in to comment.