diff --git a/scripts/tests/ica/delegate.sh b/scripts/tests/ica/delegate.sh index 0868d242..5bf66212 100755 --- a/scripts/tests/ica/delegate.sh +++ b/scripts/tests/ica/delegate.sh @@ -46,7 +46,7 @@ GENERATED_PACKET=$($BINARY tx interchain-accounts host generate-packet-data '{ "denom": "'"$DENOM"'", "amount": "'"$ICS_ACCOUNT_BALANCE"'" } -}' --memo memo --encoding proto3json) +}' --memo memo --encoding proto3) $BINARY tx interchain-accounts controller send-tx connection-0 $GENERATED_PACKET --from $WALLET_1 --chain-id test-1 --home $CHAIN_DIR/test-1 --fees 3000000$DENOM --node tcp://localhost:16657 --keyring-backend test -y @@ -58,7 +58,7 @@ while [[ "$VALIDATOR_DELEGATIONS" != "$ICS_ACCOUNT_BALANCE" ]]; do sleep 2 echo "Waiting for the transaction '/cosmos.bank.v1beta1.MsgDelegate' to be relayed..." VALIDATOR_DELEGATIONS=$($BINARY query staking delegations-to $VAL_ADDR_1 --home $CHAIN_DIR/test-2 --node tcp://localhost:26657 -o json | jq -r '.delegation_responses[-1].balance.amount') - + # log the validator delegations, and ics account balance echo "Validator Delegations: $VALIDATOR_DELEGATIONS" echo "ICS Account Balance: $ICS_ACCOUNT_BALANCE"