Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
N
nebula
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
exchain
nebula
Commits
c4498b5a
Unverified
Commit
c4498b5a
authored
Jul 12, 2021
by
Mark Tyneway
Committed by
GitHub
Jul 12, 2021
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1263 from ethereum-optimism/fix/l2geth-threshold-flag
l2geth: fix bad flag parsing
parents
7d083a21
53b37978
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
2 deletions
+7
-2
six-cobras-fold.md
.changeset/six-cobras-fold.md
+5
-0
flags.go
l2geth/cmd/utils/flags.go
+2
-2
No files found.
.changeset/six-cobras-fold.md
0 → 100644
View file @
c4498b5a
---
'
@eth-optimism/l2geth'
:
patch
---
Fixes the flags to use float64 instead of bools for the
`--rollup.feethresholddown`
and
`-rollup.feethresholdup`
config options
l2geth/cmd/utils/flags.go
View file @
c4498b5a
...
...
@@ -898,12 +898,12 @@ var (
Usage
:
"Disable transactions with 0 gas price"
,
EnvVar
:
"ROLLUP_ENFORCE_FEES"
,
}
RollupFeeThresholdDownFlag
=
cli
.
Bool
Flag
{
RollupFeeThresholdDownFlag
=
cli
.
Float64
Flag
{
Name
:
"rollup.feethresholddown"
,
Usage
:
"Allow txs with fees below the current fee up to this amount, must be < 1"
,
EnvVar
:
"ROLLUP_FEE_THRESHOLD_DOWN"
,
}
RollupFeeThresholdUpFlag
=
cli
.
Bool
Flag
{
RollupFeeThresholdUpFlag
=
cli
.
Float64
Flag
{
Name
:
"rollup.feethresholdup"
,
Usage
:
"Allow txs with fees above the current fee up to this amount, must be > 1"
,
EnvVar
:
"ROLLUP_FEE_THRESHOLD_UP"
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment