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
ef45bec2
Unverified
Commit
ef45bec2
authored
Mar 24, 2023
by
mergify[bot]
Committed by
GitHub
Mar 24, 2023
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #5255 from ethereum-optimism/fix/gaslimits
op-e2e: bump gas limit so its safe
parents
d3e9d7b5
0aba8091
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
system_test.go
op-e2e/system_test.go
+3
-3
No files found.
op-e2e/system_test.go
View file @
ef45bec2
...
@@ -304,7 +304,7 @@ func TestPendingGasLimit(t *testing.T) {
...
@@ -304,7 +304,7 @@ func TestPendingGasLimit(t *testing.T) {
cfg
:=
DefaultSystemConfig
(
t
)
cfg
:=
DefaultSystemConfig
(
t
)
// configure the L2 gas limit to be high, and the pending gas limits to be lower for resource saving.
// configure the L2 gas limit to be high, and the pending gas limits to be lower for resource saving.
cfg
.
DeployConfig
.
L2GenesisBlockGasLimit
=
2
0
_000_000
cfg
.
DeployConfig
.
L2GenesisBlockGasLimit
=
3
0
_000_000
cfg
.
GethOptions
[
"sequencer"
]
=
[]
GethOption
{
cfg
.
GethOptions
[
"sequencer"
]
=
[]
GethOption
{
func
(
ethCfg
*
ethconfig
.
Config
,
nodeCfg
*
node
.
Config
)
error
{
func
(
ethCfg
*
ethconfig
.
Config
,
nodeCfg
*
node
.
Config
)
error
{
ethCfg
.
Miner
.
GasCeil
=
10
_000_000
ethCfg
.
Miner
.
GasCeil
=
10
_000_000
...
@@ -342,8 +342,8 @@ func TestPendingGasLimit(t *testing.T) {
...
@@ -342,8 +342,8 @@ func TestPendingGasLimit(t *testing.T) {
for
{
for
{
checkGasLimit
(
l2Seq
,
big
.
NewInt
(
-
1
),
10
_000_000
)
checkGasLimit
(
l2Seq
,
big
.
NewInt
(
-
1
),
10
_000_000
)
checkGasLimit
(
l2Verif
,
big
.
NewInt
(
-
1
),
9
_000_000
)
checkGasLimit
(
l2Verif
,
big
.
NewInt
(
-
1
),
9
_000_000
)
checkGasLimit
(
l2Seq
,
nil
,
2
0
_000_000
)
checkGasLimit
(
l2Seq
,
nil
,
3
0
_000_000
)
latestVerifHeader
:=
checkGasLimit
(
l2Verif
,
nil
,
2
0
_000_000
)
latestVerifHeader
:=
checkGasLimit
(
l2Verif
,
nil
,
3
0
_000_000
)
// Stop once the verifier passes genesis:
// Stop once the verifier passes genesis:
// this implies we checked a new block from the sequencer, on both sequencer and verifier nodes.
// this implies we checked a new block from the sequencer, on both sequencer and verifier nodes.
...
...
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