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
c6951891
Commit
c6951891
authored
Nov 28, 2023
by
EvanJRichard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make changes per proto comment && resultant discussion with Adrian.
parent
67b08c11
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
11 deletions
+2
-11
system_test.go
op-e2e/system_test.go
+2
-11
No files found.
op-e2e/system_test.go
View file @
c6951891
...
@@ -205,17 +205,8 @@ func TestSystemE2EDencunAtGenesisWithBlobs(t *testing.T) {
...
@@ -205,17 +205,8 @@ func TestSystemE2EDencunAtGenesisWithBlobs(t *testing.T) {
finalizedBlock
,
err
:=
gethutils
.
WaitForL1OriginOnL2
(
blockContainsBlob
.
BlockNumber
.
Uint64
(),
l2Client
,
30
*
time
.
Duration
(
cfg
.
DeployConfig
.
L1BlockTime
)
*
time
.
Second
)
finalizedBlock
,
err
:=
gethutils
.
WaitForL1OriginOnL2
(
blockContainsBlob
.
BlockNumber
.
Uint64
(),
l2Client
,
30
*
time
.
Duration
(
cfg
.
DeployConfig
.
L1BlockTime
)
*
time
.
Second
)
require
.
Nil
(
t
,
err
,
"Waiting for L1 origin of blob tx on L2"
)
require
.
Nil
(
t
,
err
,
"Waiting for L1 origin of blob tx on L2"
)
finalizationTimeout
:=
30
*
time
.
Duration
(
cfg
.
DeployConfig
.
L1BlockTime
)
*
time
.
Second
finalizationTimeout
:=
30
*
time
.
Duration
(
cfg
.
DeployConfig
.
L1BlockTime
)
*
time
.
Second
_
,
err
=
gethutils
.
WaitForBlockToBeFinalized
(
finalizedBlock
.
Header
()
.
Number
,
l1Client
,
finalizationTimeout
)
_
,
err
=
gethutils
.
WaitForBlockToBeSafe
(
finalizedBlock
.
Header
()
.
Number
,
l2Client
,
finalizationTimeout
)
require
.
Nil
(
t
,
err
,
"Waiting for blob block to be finalized on L1"
)
require
.
Nil
(
t
,
err
,
"Waiting for safety of L2 block"
)
// fetch the finalized head of geth
finalizeCtx
,
finalizeCancel
:=
context
.
WithTimeout
(
context
.
Background
(),
1
*
time
.
Second
)
defer
finalizeCancel
()
l2Seq
:=
sys
.
Clients
[
"sequencer"
]
l2Finalized
,
err
:=
l2Seq
.
BlockByNumber
(
finalizeCtx
,
big
.
NewInt
(
int64
(
rpc
.
FinalizedBlockNumber
)))
require
.
NoError
(
t
,
err
)
require
.
NotZerof
(
t
,
l2Finalized
.
NumberU64
(),
"must have finalized L2 block"
)
}
}
// TestSystemE2E sets up a L1 Geth node, a rollup node, and a L2 geth node and then confirms that L1 deposits are reflected on L2.
// TestSystemE2E sets up a L1 Geth node, a rollup node, and a L2 geth node and then confirms that L1 deposits are reflected on L2.
...
...
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