Skip to content

Commit

Permalink
fix(init scripts): update account-prefix in ibc script
Browse files Browse the repository at this point in the history
  • Loading branch information
artemijspavlovs committed Apr 26, 2024
1 parent 0ca8a6d commit 2646fee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/ibc/setup_ibc.sh
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ tmp=$(mktemp)

jq --arg key "$RELAYER_KEY_FOR_ROLLAP" '.value.key = $key' "$ROLLAPP_IBC_CONF_FILE" >"$tmp" && mv "$tmp" "$ROLLAPP_IBC_CONF_FILE"
jq --arg chain "$ROLLAPP_CHAIN_ID" '.value."chain-id" = $chain' "$ROLLAPP_IBC_CONF_FILE" >"$tmp" && mv "$tmp" "$ROLLAPP_IBC_CONF_FILE"
jq --arg bech "$BECH32" '.value["account-prefix"] = $bech' "$ROLLAPP_IBC_CONF_FILE" >"$tmp" && mv "$tmp" "$ROLLAPP_IBC_CONF_FILE"
jq --arg rpc "$ROLLAPP_RPC_FOR_RELAYER" '.value."rpc-addr" = $rpc' "$ROLLAPP_IBC_CONF_FILE" >"$tmp" && mv "$tmp" "$ROLLAPP_IBC_CONF_FILE"
jq --arg denom "0.0$BASE_DENOM" '.value."gas-prices" = $denom' "$ROLLAPP_IBC_CONF_FILE" >"$tmp" && mv "$tmp" "$ROLLAPP_IBC_CONF_FILE"

Expand Down Expand Up @@ -90,4 +91,3 @@ rly tx channel "$RELAYER_PATH"
echo '# -------------------------------- IBC channel established ------------------------------- #'
echo "Channel Information:"
echo "$(rly q channels "$ROLLAPP_CHAIN_ID" | jq '{ "rollapp-channel": .channel_id, "hub-channel": .counterparty.channel_id }')"

0 comments on commit 2646fee

Please sign in to comment.