diff --git a/scripts/babylon-integration/utils/deploy-cw-contract.sh b/scripts/babylon-integration/utils/deploy-cw-contract.sh index e8f427c..c563ed2 100755 --- a/scripts/babylon-integration/utils/deploy-cw-contract.sh +++ b/scripts/babylon-integration/utils/deploy-cw-contract.sh @@ -32,7 +32,7 @@ echo "Storing contract..." STORE_TX_HASH=$(babylond tx wasm store $CONTRACT_PATH \ --gas-prices 0.2ubbn \ --gas auto \ - --gas-adjustment 1.3 \ + --gas-adjustment 2 \ --from $BABYLON_PREFUNDED_KEY \ --keyring-dir $KEYRING_DIR \ --chain-id $BABYLON_CHAIN_ID \ @@ -72,7 +72,7 @@ echo "Instantiate message JSON: $INSTANTIATE_MSG_JSON" DEPLOY_TX_HASH=$(babylond tx wasm instantiate $CODE "$INSTANTIATE_MSG_JSON" \ --gas-prices 0.2ubbn \ --gas auto \ - --gas-adjustment 1.3 \ + --gas-adjustment 2 \ --label $CONTRACT_LABEL \ --admin $CONTRACT_ADMIN_ADDRESS \ --from $BABYLON_PREFUNDED_KEY \ diff --git a/scripts/babylon-integration/utils/set-babylon-keys.sh b/scripts/babylon-integration/utils/set-babylon-keys.sh index 5def91f..4187e07 100755 --- a/scripts/babylon-integration/utils/set-babylon-keys.sh +++ b/scripts/babylon-integration/utils/set-babylon-keys.sh @@ -22,7 +22,9 @@ fi echo # Create new Babylon account for the consumer-finality-provider -CONSUMER_FP_KEYRING_DIR=$KEYRING_DIR/$CONSUMER_FINALITY_PROVIDER_KEY +if CONSUMER_FP_KEYRING_DIR not exist: + mkdir CONSUMER_FP_KEYRING_DIR +# CONSUMER_FP_KEYRING_DIR=$KEYRING_DIR/$CONSUMER_FINALITY_PROVIDER_KEY if ! babylond keys show $CONSUMER_FINALITY_PROVIDER_KEY --keyring-dir $CONSUMER_FP_KEYRING_DIR --keyring-backend test &> /dev/null; then echo "Creating keyring directory $CONSUMER_FP_KEYRING_DIR" mkdir -p $CONSUMER_FP_KEYRING_DIR @@ -56,7 +58,7 @@ FUND_TX_HASH=$(babylond tx bank send \ --keyring-dir $KEYRING_DIR \ --keyring-backend test \ --gas auto \ - --gas-adjustment 1.5 \ + --gas-adjustment 2 \ --gas-prices 0.2ubbn \ --output json -y \ | jq -r '.txhash') diff --git a/scripts/babylon-integration/utils/teardown.sh b/scripts/babylon-integration/utils/teardown.sh index 2ebd96e..a92a9f2 100755 --- a/scripts/babylon-integration/utils/teardown.sh +++ b/scripts/babylon-integration/utils/teardown.sh @@ -45,7 +45,7 @@ SEND_TX_OUTPUT=$(babylond tx bank send \ --chain-id $BABYLON_CHAIN_ID \ --node $BABYLON_RPC_URL \ --gas auto \ - --gas-adjustment 1.5 \ + --gas-adjustment 2 \ --gas-prices 0.2ubbn \ --output json -y) echo "$SEND_TX_OUTPUT" diff --git a/scripts/babylon-integration/utils/toggle-cw-killswitch.sh b/scripts/babylon-integration/utils/toggle-cw-killswitch.sh index 6dfdbde..b982ab9 100755 --- a/scripts/babylon-integration/utils/toggle-cw-killswitch.sh +++ b/scripts/babylon-integration/utils/toggle-cw-killswitch.sh @@ -19,7 +19,7 @@ SET_ENABLED_TX_OUTPUT=$(babylond tx wasm execute $CONTRACT_ADDR \ '{"set_enabled":{"enabled":'$IS_ENABLED'}}' \ --gas-prices 0.2ubbn \ --gas auto \ - --gas-adjustment 1.3 \ + --gas-adjustment 2 \ --from $BABYLON_PREFUNDED_KEY \ --keyring-dir $KEYRING_DIR \ --chain-id $BABYLON_CHAIN_ID \