From 5887e1ce1f40b50662b512c5ed9f727aa9f44ba9 Mon Sep 17 00:00:00 2001 From: Mauro Lacy Date: Tue, 24 Dec 2024 10:51:24 +0100 Subject: [PATCH] Start transfer channel in the background for speed --- contrib/images/ibcsim-bcd/wrapper.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/contrib/images/ibcsim-bcd/wrapper.sh b/contrib/images/ibcsim-bcd/wrapper.sh index 3aee4b4..9abe5d1 100755 --- a/contrib/images/ibcsim-bcd/wrapper.sh +++ b/contrib/images/ibcsim-bcd/wrapper.sh @@ -36,7 +36,7 @@ echo -n "$BABYLON_MSG" | jq '.' ./setup-bcd.sh $CONSUMER_CHAIN_ID $CONSUMER_CONF 26657 26656 6060 9090 ./babylon_contract.wasm ./btc_staking.wasm ./btc_finality.wasm "$BABYLON_MSG" -sleep 10 +sleep 5 CONTRACT_ADDRESS=$(bcd query wasm list-contract-by-code 1 | grep bbnc | cut -d' ' -f2) CONTRACT_PORT="wasm.$CONTRACT_ADDRESS" @@ -111,8 +111,7 @@ sleep 10 echo "Creating IBC light clients, connection, and channels between the two CZs" rly --home $RELAYER_CONF_DIR tx link bcd --src-port zoneconcierge --dst-port $CONTRACT_PORT --order ordered --version zoneconcierge-1 [ $? -eq 0 ] && echo "Created custom IBC channel successfully!" || echo "Error creating custom IBC channel" -rly --home $RELAYER_CONF_DIR tx link bcd --src-port transfer --dst-port transfer --order unordered --version ics20-1 -[ $? -eq 0 ] && echo "Created transfer IBC channel successfully!" || echo "Error creating trasfer IBC channel" +rly --home $RELAYER_CONF_DIR tx link bcd --src-port transfer --dst-port transfer --order unordered --version ics20-1 & sleep 10