Skip to content

Commit

Permalink
refactor: reverted default gas price to 1
Browse files Browse the repository at this point in the history
  • Loading branch information
Yashk767 committed Sep 3, 2024
1 parent d927490 commit 063091c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions config.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion core/constants.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 063091c

Please sign in to comment.