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
97aba298
Unverified
Commit
97aba298
authored
May 03, 2023
by
inphi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
op-e2e: Fix flaky TestVerifyL2OutputRootEmptyBlock
parent
d2edc627
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
system_fpp_test.go
op-e2e/system_fpp_test.go
+2
-0
No files found.
op-e2e/system_fpp_test.go
View file @
97aba298
...
@@ -71,6 +71,8 @@ func testVerifyL2OutputRootEmptyBlock(t *testing.T, detached bool) {
...
@@ -71,6 +71,8 @@ func testVerifyL2OutputRootEmptyBlock(t *testing.T, detached bool) {
// Avoids flaky test by avoiding reorgs at epoch 0
// Avoids flaky test by avoiding reorgs at epoch 0
t
.
Log
(
"Wait for safe head to advance once for setup"
)
t
.
Log
(
"Wait for safe head to advance once for setup"
)
// Safe head doesn't exist at genesis. Wait for the first one before proceeding
require
.
NoError
(
t
,
waitForSafeHead
(
ctx
,
1
,
rollupClient
))
ss
,
err
:=
l2Seq
.
BlockByNumber
(
ctx
,
big
.
NewInt
(
int64
(
rpc
.
SafeBlockNumber
)))
ss
,
err
:=
l2Seq
.
BlockByNumber
(
ctx
,
big
.
NewInt
(
int64
(
rpc
.
SafeBlockNumber
)))
require
.
NoError
(
t
,
err
)
require
.
NoError
(
t
,
err
)
require
.
NoError
(
t
,
waitForSafeHead
(
ctx
,
ss
.
NumberU64
()
+
cfg
.
DeployConfig
.
SequencerWindowSize
+
1
,
rollupClient
))
require
.
NoError
(
t
,
waitForSafeHead
(
ctx
,
ss
.
NumberU64
()
+
cfg
.
DeployConfig
.
SequencerWindowSize
+
1
,
rollupClient
))
...
...
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