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
6e1f4db2
Unverified
Commit
6e1f4db2
authored
Jan 20, 2023
by
Mark Tyneway
Committed by
GitHub
Jan 20, 2023
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #4745 from ethereum-optimism/fix/default-rpc-gas-cap
l2geth: default gascap
parents
138a6f0f
ea817097
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
0 deletions
+7
-0
good-paws-deliver.md
.changeset/good-paws-deliver.md
+5
-0
flags.go
l2geth/cmd/utils/flags.go
+1
-0
config.go
l2geth/eth/config.go
+1
-0
No files found.
.changeset/good-paws-deliver.md
0 → 100644
View file @
6e1f4db2
---
'
@eth-optimism/l2geth'
:
patch
---
Use default cas gap of 25 million
l2geth/cmd/utils/flags.go
View file @
6e1f4db2
...
...
@@ -516,6 +516,7 @@ var (
}
RPCGlobalGasCap
=
cli
.
Uint64Flag
{
Name
:
"rpc.gascap"
,
Value
:
eth
.
DefaultConfig
.
RPCGasCap
.
Uint64
(),
Usage
:
"Sets a cap on gas that can be used in eth_call/estimateGas"
,
}
RPCGlobalEVMTimeoutFlag
=
&
cli
.
DurationFlag
{
...
...
l2geth/eth/config.go
View file @
6e1f4db2
...
...
@@ -58,6 +58,7 @@ var DefaultConfig = Config{
Recommit
:
3
*
time
.
Second
,
},
TxPool
:
core
.
DefaultTxPoolConfig
,
RPCGasCap
:
new
(
big
.
Int
)
.
SetUint64
(
25
_000_000
),
RPCEVMTimeout
:
5
*
time
.
Second
,
GPO
:
gasprice
.
Config
{
Blocks
:
20
,
...
...
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