Override STAKE/FEE with env variables
Positional arguments are for the addresses
This commit is contained in:
@@ -2,9 +2,8 @@
|
|||||||
set -o errexit -o nounset -o pipefail
|
set -o errexit -o nounset -o pipefail
|
||||||
|
|
||||||
PASSWORD=${PASSWORD:-1234567890}
|
PASSWORD=${PASSWORD:-1234567890}
|
||||||
# we can override the default token tickers as cli args
|
STAKE=${STAKE_TOKEN:-ustake}
|
||||||
STAKE=${1:-ustake}
|
FEE=${FEE_TOKEN:-ucosm}
|
||||||
FEE=${2:-ucosm}
|
|
||||||
|
|
||||||
wasmd init --chain-id=testing testing
|
wasmd init --chain-id=testing testing
|
||||||
# staking/governance token is hardcoded in config, change this
|
# staking/governance token is hardcoded in config, change this
|
||||||
|
|||||||
Reference in New Issue
Block a user