From 84471bc60f6777d843bb91c4434079255731ebf1 Mon Sep 17 00:00:00 2001 From: parketh Date: Mon, 11 Nov 2024 22:26:45 +0000 Subject: [PATCH] fix: send tx error --- scripts/babylon-integration/utils/teardown.sh | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/scripts/babylon-integration/utils/teardown.sh b/scripts/babylon-integration/utils/teardown.sh index 4f44e9a..92a37c0 100755 --- a/scripts/babylon-integration/utils/teardown.sh +++ b/scripts/babylon-integration/utils/teardown.sh @@ -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')