Skip to content

Commit

Permalink
fix jq
Browse files Browse the repository at this point in the history
  • Loading branch information
lesterli committed Dec 14, 2023
1 parent c03fc55 commit 51a1995
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/init_and_start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ if [ ! -f "$DATA_DIR/config/config.toml" ]; then
curl -L -o $DATA_DIR/config/genesis.json $GENESIS_FILE

# Get the IBC_TOKEN_DENOM from genesis.json
IBC_TOKEN_DENOM=`jq '.app_state.crisis.constant_fee.denom' $DATA_DIR/config/genesis.json`
IBC_TOKEN_DENOM=`jq -r '.app_state.crisis.constant_fee.denom' $DATA_DIR/config/genesis.json`

# Modify the minimum-gas-price field of app.toml
sed -i.bak "s#minimum-gas-prices = \"0aotto\"#minimum-gas-prices = \"20000000000${IBC_TOKEN_DENOM}\"#" $DATA_DIR/config/app.toml
Expand Down

0 comments on commit 51a1995

Please sign in to comment.