Skip to content

Commit

Permalink
update credit amount for starship faucet
Browse files Browse the repository at this point in the history
  • Loading branch information
Anmol1696 committed Aug 1, 2024
1 parent 881d8e8 commit 5a5da29
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions starship/charts/devnet/templates/chains/cosmos/genesis.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -341,7 +341,6 @@ spec:
- "-c"
- |
export FAUCET_TOKENS=$(printf '%s\n' ${COINS//[[:digit:]]/})
for coin in ${COINS//,/ }
do
var="FAUCET_CREDIT_AMOUNT_$(printf '%s\n' ${coin//[[:digit:]]/} | tr '[:lower:]' '[:upper:]')"
Expand Down Expand Up @@ -413,11 +412,11 @@ spec:
# Calculate the order of magnitude
if [ ${#amt} -gt 18 ]; then
creditAmt=$(echo $amt | sed -e "s/000000000$//")
feesAmt=$(echo $amt | sed -e "s/000000000000$//")
creditAmt=$(echo $amt | sed -e "s/000000$//")
feesAmt=$(echo $amt | sed -e "s/0000000000000$//")
else
creditAmt=$(echo $amt | sed -e "s/0000$//")
feesAmt=$(echo $amt | sed -e "s/000000$//")
feesAmt=$(echo $amt | sed -e "s/00000000$//")
fi
if [[ $CREDIT_COINS == "" ]]
Expand Down

0 comments on commit 5a5da29

Please sign in to comment.