Skip to content

Commit

Permalink
Merged dev into main
Browse files Browse the repository at this point in the history
  • Loading branch information
mario4tier committed Sep 25, 2024
2 parents afed876 + 8f767af commit 6fcbb92
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/common/__sui-exec.sh
Original file line number Diff line number Diff line change
Expand Up @@ -166,9 +166,9 @@ sui_exec() {
if [ "${CFG_sui_faucet_enabled:?}" != "true" ]; then
error_exit "suibase faucet not enabled for localnet. Check suibase.yaml config."
fi
_OPT_URL_PARAM="--url http://${CFG_sui_faucet_host_ip:?}:${CFG_sui_faucet_port:?}/gas"
_OPT_URL_PARAM="--url http://${CFG_sui_faucet_host_ip:?}:${CFG_sui_faucet_port:?}/v1/gas"
elif [ "$WORKDIR" = "devnet" ] || [ "$WORKDIR" = "testnet" ]; then
_OPT_URL_PARAM="--url https://faucet.${WORKDIR}.sui.io/gas"
_OPT_URL_PARAM="--url https://faucet.${WORKDIR}.sui.io/v1/gas"
else
error_exit "faucet command not applicable to $WORKDIR"
fi
Expand Down

0 comments on commit 6fcbb92

Please sign in to comment.