From 063091c1688ce6ca2dd2102a05486a23dc35a1c1 Mon Sep 17 00:00:00 2001 From: YashK Date: Tue, 3 Sep 2024 11:40:08 +0530 Subject: [PATCH] refactor: reverted default gas price to 1 --- config.sh | 4 ++-- core/constants.go | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/config.sh b/config.sh index 210fcd1f..fc353a4c 100644 --- a/config.sh +++ b/config.sh @@ -30,9 +30,9 @@ if [ -z "$WAIT_TIME" ]; then WAIT_TIME=5 fi -read -rp "Gas Price: (0) " GAS_PRICE +read -rp "Gas Price: (1) " GAS_PRICE if [ -z "$GAS_PRICE" ]; then - GAS_PRICE=0 + GAS_PRICE=1 fi read -rp "Gas Limit Increment : (2) " GAS_LIMIT diff --git a/core/constants.go b/core/constants.go index 3f067a3f..d895a722 100644 --- a/core/constants.go +++ b/core/constants.go @@ -27,7 +27,7 @@ const BlockCompletionTimeout = 30 const ( DefaultGasMultiplier float32 = 1.0 DefaultBufferPercent int32 = 20 - DefaultGasPrice int32 = 0 + DefaultGasPrice int32 = 1 DefaultWaitTime int32 = 5 DefaultGasLimit float32 = 2 DefaultGasLimitOverride uint64 = 30000000