Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: requested changes in refactoring and default values for v1.2.0 #1230

Merged
merged 3 commits into from
Sep 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
File renamed without changes.
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
4 changes: 2 additions & 2 deletions 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 All @@ -37,7 +37,7 @@ const (
)

//BufferStateSleepTime is the sleeping time whenever buffer state hits
const BufferStateSleepTime int32 = 2
const BufferStateSleepTime int32 = 5

//Following are the default logFile parameters in config
const (
Expand Down
Loading