Skip to content

Commit

Permalink
fix: send tx error
Browse files Browse the repository at this point in the history
  • Loading branch information
parketh committed Nov 11, 2024
1 parent 39541ef commit 84471bc
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions scripts/babylon-integration/utils/teardown.sh
Original file line number Diff line number Diff line change
Expand Up @@ -36,15 +36,18 @@ fi
# Reserve 0.001 bbn = 1000 ubbn for gas
AMOUNT_TO_SEND=$((CONSUMER_FP_BALANCE - TRANSFER_GAS_COST))
echo "Sending $AMOUNT_TO_SEND ubbn to prefunded key..."
SEND_TX_HASH=$(babylond tx bank send "$CONSUMER_FP_ADDRESS" "$PREFUNDED_ADDRESS" "$AMOUNT_TO_SEND"ubbn \
--keyring-dir "$CONSUMER_FP_KEYRING_DIR" \
SEND_TX_HASH=$(babylond tx bank send \
${CONSUMER_FP_ADDRESS} \
${PREFUNDED_ADDRESS} \
"${AMOUNT_TO_SEND}ubbn" \
--keyring-dir $CONSUMER_FP_KEYRING_DIR \
--keyring-backend test \
--chain-id $BABYLON_CHAIN_ID \
--node $BABYLON_RPC_URL \
--keyring-backend test \
--gas auto \
--gas-adjustment 1.5 \
--gas-prices 0.2ubbn \
--dry-run \ # TODO: remove this once ready
--dry-run \
--output json -y \
| jq -r '.txhash')

Expand Down

0 comments on commit 84471bc

Please sign in to comment.