From 1bc41b7487bcddc7c4e1e7dd268d9c0b63bbb205 Mon Sep 17 00:00:00 2001 From: illuminatus Date: Fri, 16 Aug 2024 16:16:52 -0700 Subject: [PATCH] Update env to set KOIOS_API for sanchonet (#1806) ## Description Sets KOIOS_API varaible. ## Motivation and context KOIOS has an API for sanchonet (sancho) it is just not being set in the case statements. ## Which issue it fixes? Closes #1805 --- scripts/cnode-helper-scripts/env | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/cnode-helper-scripts/env b/scripts/cnode-helper-scripts/env index 0054212de..3080ae2ff 100644 --- a/scripts/cnode-helper-scripts/env +++ b/scripts/cnode-helper-scripts/env @@ -1194,7 +1194,8 @@ case ${NWMAGIC} in [[ -z ${KOIOS_API} ]] && KOIOS_API="https://preview.koios.rest/api/v1";; 4) NETWORK_NAME="Sanchonet" - SHELLEY_TRANS_EPOCH=0;; + SHELLEY_TRANS_EPOCH=0 + [[ -z ${KOIOS_API} ]] && KOIOS_API="https://sancho.koios.rest/api/v1";; *) NETWORK_NAME="Custom" [[ -z ${SHELLEY_TRANS_EPOCH} ]] && SHELLEY_TRANS_EPOCH=0