Skip to content

Commit

Permalink
Override STAKE/FEE with env variables
Browse files Browse the repository at this point in the history
Positional arguments are for the addresses
  • Loading branch information
webmaster128 committed Feb 9, 2020
1 parent f4683ce commit dd7c3bb
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions docker/setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,8 @@
set -o errexit -o nounset -o pipefail

PASSWORD=${PASSWORD:-1234567890}
# we can override the default token tickers as cli args
STAKE=${1:-ustake}
FEE=${2:-ucosm}
STAKE=${STAKE_TOKEN:-ustake}
FEE=${FEE_TOKEN:-ucosm}

wasmd init --chain-id=testing testing
# staking/governance token is hardcoded in config, change this
Expand Down

0 comments on commit dd7c3bb

Please sign in to comment.