Skip to content

Commit

Permalink
print provider balances
Browse files Browse the repository at this point in the history
  • Loading branch information
dasanchez committed Apr 26, 2023
1 parent 6efb7a0 commit a32744d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/test-ibc-transfer.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ echo "Sending $CONSUMER_DENOM to $CHAIN_ID..."
$CONSUMER_CHAIN_BINARY --home $CONSUMER_HOME_2 tx ibc-transfer transfer transfer channel-1 $WALLET_1 1000$CONSUMER_DENOM --from $MONIKER_2 --keyring-backend test --gas auto --fees 1000$CONSUMER_DENOM -b block -y
echo "Waiting for the transfer to reach the provider chain..."
sleep 60
$CHAIN_BINARY --home $HOME_1 q bank balances $WALLET_1 -o json
DENOM_AMOUNT=$($CHAIN_BINARY --home $HOME_1 q bank balances $WALLET_1 -o json | jq -r '.balances | length')
if [ $DENOM_AMOUNT -lt $EXPECTED_DENOMS ]; then
echo "Only one denom found in provider chain."
Expand Down

0 comments on commit a32744d

Please sign in to comment.