Skip to content

Commit

Permalink
test: update encoding test ica
Browse files Browse the repository at this point in the history
  • Loading branch information
duvbell committed Feb 26, 2024
1 parent 8a5aa9e commit 85ecbf1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/tests/ica/delegate.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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"
Expand Down

0 comments on commit 85ecbf1

Please sign in to comment.