Skip to content

Commit

Permalink
Update env to set KOIOS_API for sanchonet (#1806)
Browse files Browse the repository at this point in the history
## 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
  • Loading branch information
TrevorBenson authored Aug 16, 2024
1 parent 9c1ed68 commit 1bc41b7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scripts/cnode-helper-scripts/env
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 1bc41b7

Please sign in to comment.