From 765719b7cecfb1de660468280c0e9bd1e2bf4586 Mon Sep 17 00:00:00 2001 From: rdlrt <3169068+rdlrt@users.noreply.github.com> Date: Wed, 17 Jul 2024 11:54:29 +1000 Subject: [PATCH] Remove gov- prefix and split drep cert into register/retire --- scripts/cnode-helper-scripts/env | 50 +++++++++++++++++--------------- 1 file changed, 26 insertions(+), 24 deletions(-) diff --git a/scripts/cnode-helper-scripts/env b/scripts/cnode-helper-scripts/env index 5b0da056d..dc13e2f6d 100644 --- a/scripts/cnode-helper-scripts/env +++ b/scripts/cnode-helper-scripts/env @@ -66,18 +66,19 @@ #WALLET_VOTE_CATALYST_VK_FILENAME="vote-catalyst.vkey" #WALLET_VOTE_CATALYST_SK_FILENAME="vote-catalyst.skey" #WALLET_VOTE_CATALYST_QR_FILENAME="vote-catalyst-qrcode.png" -#WALLET_GOV_DREP_VK_FILENAME="gov-drep.vkey" -#WALLET_GOV_DREP_SK_FILENAME="gov-drep.skey" -#WALLET_GOV_DREP_ID_FILENAME="gov-drep.id" -#WALLET_GOV_DREP_CERT_FILENAME="gov-drep.cert" -#WALLET_GOV_HW_DREP_SK_FILENAME="gov-drep.hwsfile" -#WALLET_GOV_CC_HOT_VK_FILENAME="gov-cc-hot.vkey" -#WALLET_GOV_CC_HOT_SK_FILENAME="gov-cc-hot.skey" -#WALLET_GOV_HW_CC_HOT_SK_FILENAME="gov-cc-hot.hwsfile" -#WALLET_GOV_CC_COLD_VK_FILENAME="gov-cc-cold.vkey" -#WALLET_GOV_CC_COLD_SK_FILENAME="gov-cc-cold.skey" -#WALLET_GOV_HW_CC_COLD_SK_FILENAME="gov-cc-cold.hwsfile" -#WALLET_GOV_CC_HASH_FILENAME="gov-cc.hash" +#WALLET_GOV_DREP_VK_FILENAME="drep.vkey" +#WALLET_GOV_DREP_SK_FILENAME="drep.skey" +#WALLET_GOV_DREP_ID_FILENAME="drep.id" +#WALLET_GOV_DREP_REGISTER_CERT_FILENAME="drep-reg.cert" +#WALLET_GOV_DREP_RETIRE_CERT_FILENAME="drep-ret.cert" +#WALLET_GOV_HW_DREP_SK_FILENAME="drep.hwsfile" +#WALLET_GOV_CC_HOT_VK_FILENAME="cc-hot.vkey" +#WALLET_GOV_CC_HOT_SK_FILENAME="cc-hot.skey" +#WALLET_GOV_HW_CC_HOT_SK_FILENAME="cc-hot.hwsfile" +#WALLET_GOV_CC_COLD_VK_FILENAME="cc-cold.vkey" +#WALLET_GOV_CC_COLD_SK_FILENAME="cc-cold.skey" +#WALLET_GOV_HW_CC_COLD_SK_FILENAME="cc-cold.hwsfile" +#WALLET_GOV_CC_HASH_FILENAME="cc.hash" #WALLET_MULTISIG_PREFIX="ms_" # Filename for multisig files, uses separate keys derived using the 1854H paths @@ -890,18 +891,19 @@ set_default_vars() { [[ -z ${WALLET_VOTE_CATALYST_VK_FILENAME} ]] && WALLET_VOTE_CATALYST_VK_FILENAME="vote-catalyst.vkey" [[ -z ${WALLET_VOTE_CATALYST_SK_FILENAME} ]] && WALLET_VOTE_CATALYST_SK_FILENAME="vote-catalyst.skey" [[ -z ${WALLET_VOTE_CATALYST_QR_FILENAME} ]] && WALLET_VOTE_CATALYST_QR_FILENAME="vote-catalyst-qrcode.png" - [[ -z ${WALLET_GOV_DREP_VK_FILENAME} ]] && WALLET_GOV_DREP_VK_FILENAME="gov-drep.vkey" - [[ -z ${WALLET_GOV_DREP_SK_FILENAME} ]] && WALLET_GOV_DREP_SK_FILENAME="gov-drep.skey" - [[ -z ${WALLET_GOV_DREP_ID_FILENAME} ]] && WALLET_GOV_DREP_ID_FILENAME="gov-drep.id" - [[ -z ${WALLET_GOV_DREP_CERT_FILENAME} ]] && WALLET_GOV_DREP_CERT_FILENAME="gov-drep.cert" - [[ -z ${WALLET_GOV_HW_DREP_SK_FILENAME} ]] && WALLET_GOV_HW_DREP_SK_FILENAME="gov-drep.hwsfile" - [[ -z ${WALLET_GOV_CC_HOT_VK_FILENAME} ]] && WALLET_GOV_CC_HOT_VK_FILENAME="gov-cc-hot.vkey" - [[ -z ${WALLET_GOV_CC_HOT_SK_FILENAME} ]] && WALLET_GOV_CC_HOT_SK_FILENAME="gov-cc-hot.skey" - [[ -z ${WALLET_GOV_HW_CC_HOT_SK_FILENAME} ]] && WALLET_GOV_HW_CC_HOT_SK_FILENAME="gov-cc-hot.hwsfile" - [[ -z ${WALLET_GOV_CC_COLD_VK_FILENAME} ]] && WALLET_GOV_CC_COLD_VK_FILENAME="gov-cc-cold.vkey" - [[ -z ${WALLET_GOV_CC_COLD_SK_FILENAME} ]] && WALLET_GOV_CC_COLD_SK_FILENAME="gov-cc-cold.skey" - [[ -z ${WALLET_GOV_HW_CC_COLD_SK_FILENAME} ]] && WALLET_GOV_HW_CC_COLD_SK_FILENAME="gov-cc-cold.hwsfile" - [[ -z ${WALLET_GOV_CC_HASH_FILENAME} ]] && WALLET_GOV_CC_HASH_FILENAME="gov-cc.hash" + [[ -z ${WALLET_GOV_DREP_VK_FILENAME} ]] && WALLET_GOV_DREP_VK_FILENAME="drep.vkey" + [[ -z ${WALLET_GOV_DREP_SK_FILENAME} ]] && WALLET_GOV_DREP_SK_FILENAME="drep.skey" + [[ -z ${WALLET_GOV_DREP_ID_FILENAME} ]] && WALLET_GOV_DREP_ID_FILENAME="drep.id" + [[ -z ${WALLET_GOV_DREP_REGISTER_CERT_FILENAME} ]] && WALLET_GOV_DREP_REGISTER_CERT_FILENAME="drep-reg.cert" + [[ -z ${WALLET_GOV_DREP_RETIRE_CERT_FILENAME} ]] && WALLET_GOV_DREP_RETIRE_CERT_FILENAME="drep-ret.cert" + [[ -z ${WALLET_GOV_HW_DREP_SK_FILENAME} ]] && WALLET_GOV_HW_DREP_SK_FILENAME="drep.hwsfile" + [[ -z ${WALLET_GOV_CC_HOT_VK_FILENAME} ]] && WALLET_GOV_CC_HOT_VK_FILENAME="cc-hot.vkey" + [[ -z ${WALLET_GOV_CC_HOT_SK_FILENAME} ]] && WALLET_GOV_CC_HOT_SK_FILENAME="cc-hot.skey" + [[ -z ${WALLET_GOV_HW_CC_HOT_SK_FILENAME} ]] && WALLET_GOV_HW_CC_HOT_SK_FILENAME="cc-hot.hwsfile" + [[ -z ${WALLET_GOV_CC_COLD_VK_FILENAME} ]] && WALLET_GOV_CC_COLD_VK_FILENAME="cc-cold.vkey" + [[ -z ${WALLET_GOV_CC_COLD_SK_FILENAME} ]] && WALLET_GOV_CC_COLD_SK_FILENAME="cc-cold.skey" + [[ -z ${WALLET_GOV_HW_CC_COLD_SK_FILENAME} ]] && WALLET_GOV_HW_CC_COLD_SK_FILENAME="cc-cold.hwsfile" + [[ -z ${WALLET_GOV_CC_HASH_FILENAME} ]] && WALLET_GOV_CC_HASH_FILENAME="cc.hash" [[ -z ${WALLET_MULTISIG_PREFIX} ]] && WALLET_MULTISIG_PREFIX="ms_" [[ -z ${POOL_ID_FILENAME} ]] && POOL_ID_FILENAME="pool.id" [[ -z ${POOL_HOTKEY_VK_FILENAME} ]] && POOL_HOTKEY_VK_FILENAME="hot.vkey"