Skip to content

Commit

Permalink
print tx output
Browse files Browse the repository at this point in the history
  • Loading branch information
parketh committed Nov 12, 2024
1 parent 5f9e1b8 commit ac6fdec
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions scripts/babylon-integration/utils/teardown.sh
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ fi
AMOUNT_TO_SEND=$((CONSUMER_FP_BALANCE - TRANSFER_GAS_COST))
echo "Sending $AMOUNT_TO_SEND ubbn to prefunded key..."
echo "Consumer FP keyring dir: $CONSUMER_FP_KEYRING_DIR"
SEND_TX_HASH=$(babylond tx bank send \
SEND_TX_OUTPUT=$(babylond tx bank send \
${CONSUMER_FINALITY_PROVIDER_KEY} \
${PREFUNDED_ADDRESS} \
"${AMOUNT_TO_SEND}ubbn" \
Expand All @@ -49,9 +49,9 @@ SEND_TX_HASH=$(babylond tx bank send \
--gas auto \
--gas-adjustment 1.5 \
--gas-prices 0.2ubbn \
--output json -y \
| jq -r '.txhash')

--output json -y)
echo "$SEND_TX_OUTPUT"
SEND_TX_HASH=$(echo "$SEND_TX_OUTPUT" | jq -r '.txhash')

# Wait for transaction to complete
if ! wait_for_tx "$SEND_TX_HASH" 10 3; then
Expand Down

0 comments on commit ac6fdec

Please sign in to comment.