From f74b02a415f280231105783f0c8566637934ee1e Mon Sep 17 00:00:00 2001 From: parketh Date: Tue, 12 Nov 2024 13:05:50 +0000 Subject: [PATCH] fix gas cost --- scripts/babylon-integration/utils/teardown.sh | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/scripts/babylon-integration/utils/teardown.sh b/scripts/babylon-integration/utils/teardown.sh index b40d22b..4b153be 100755 --- a/scripts/babylon-integration/utils/teardown.sh +++ b/scripts/babylon-integration/utils/teardown.sh @@ -26,7 +26,7 @@ CONSUMER_FP_BALANCE=$(babylond query bank balances "$CONSUMER_FP_ADDRESS" \ echo "Consumer FP balance: $CONSUMER_FP_BALANCE" # If balance is less than gas transfer cost, don't send funds -TRANSFER_GAS_COST=1000 +TRANSFER_GAS_COST=10000 if [ "$CONSUMER_FP_BALANCE" -lt "$TRANSFER_GAS_COST" ]; then echo "Consumer FP balance is less than gas transfer cost, skipping funds transfer" exit 0 @@ -46,9 +46,6 @@ SEND_TX_HASH=$(babylond tx bank send \ --keyring-backend test \ --chain-id $BABYLON_CHAIN_ID \ --node $BABYLON_RPC_URL \ - --gas auto \ - --gas-adjustment 1.5 \ - --gas-prices 0.2ubbn \ --output json -y \ | jq -r '.txhash')