Make min-gas-price configurable in node initialization script #62

Merged
nabarun merged 2 commits from pm-reduce-min-gas-price into main 2024-10-28 04:22:57 +00:00

View File

@ -6,6 +6,7 @@ MONIKER=${MONIKER:-"localtestnet"}
KEYRING=${KEYRING:-"test"} KEYRING=${KEYRING:-"test"}
DENOM=${DENOM:-"alnt"} DENOM=${DENOM:-"alnt"}
STAKING_AMOUNT=${STAKING_AMOUNT:-"1000000000000000"} STAKING_AMOUNT=${STAKING_AMOUNT:-"1000000000000000"}
MIN_GAS_PRICE=${MIN_GAS_PRICE:-"0.001"}
LOGLEVEL=${LOGLEVEL:-"info"} LOGLEVEL=${LOGLEVEL:-"info"}
input_genesis_file=${GENESIS_FILE} input_genesis_file=${GENESIS_FILE}
@ -135,7 +136,7 @@ fi
laconicd start \ laconicd start \
--pruning=nothing \ --pruning=nothing \
--log_level $LOGLEVEL \ --log_level $LOGLEVEL \
--minimum-gas-prices=1$DENOM \ --minimum-gas-prices=$MIN_GAS_PRICE$DENOM \
--api.enable \ --api.enable \
--rpc.laddr="tcp://0.0.0.0:26657" \ --rpc.laddr="tcp://0.0.0.0:26657" \
--gql-server --gql-playground --gql-server --gql-playground