Skip to content

Commit d09646e

Browse files
committed
fix: make file
1 parent 87ba7de commit d09646e

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

Makefile

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,13 +29,16 @@ deploy-anvil:
2929
deploy-btp:
3030
@eval $$(curl -H "x-auth-token: $${BPT_SERVICE_TOKEN}" -s $${BTP_CLUSTER_MANAGER_URL}/ide/foundry/$${BTP_SCS_ID}/env | sed 's/^/export /'); \
3131
args=""; \
32-
@if [ -z "${BTP_FROM}" ]; then \
32+
@if [ ! -z "$${BTP_FROM}" ]; then \
3333
args="--unlocked --from $${BTP_FROM}"; \
3434
else \
3535
echo "\033[1;33mWARNING: No keys are activated on the node, falling back to interactive mode...\033[0m"; \
3636
echo ""; \
3737
args="--interactive"; \
3838
fi; \
39+
if [ ! -z "$${BTP_GAS_PRICE}" ]; then \
40+
args="$$args --gas-price $${BTP_GAS_PRICE}"; \
41+
fi; \
3942
if [ "$${BTP_EIP_1559_ENABLED}" = "false" ]; then \
4043
args="$$args --legacy"; \
4144
fi; \

0 commit comments

Comments
 (0)