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
13661cf1
Unverified
Commit
13661cf1
authored
Jul 23, 2024
by
protolambda
Committed by
GitHub
Jul 23, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
op-e2e: use util for RPC dial, and ensure op-node is on localhost RPC (#11209)
parent
fe3f42be
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
3 deletions
+6
-3
setup.go
op-e2e/setup.go
+5
-0
system_test.go
op-e2e/system_test.go
+1
-3
No files found.
op-e2e/setup.go
View file @
13661cf1
...
...
@@ -139,6 +139,11 @@ func DefaultSystemConfig(t testing.TB) SystemConfig {
SequencerConfDepth
:
0
,
SequencerEnabled
:
false
,
},
RPC
:
rollupNode
.
RPCConfig
{
ListenAddr
:
"127.0.0.1"
,
ListenPort
:
0
,
EnableAdmin
:
true
,
},
L1EpochPollInterval
:
time
.
Second
*
4
,
RuntimeConfigReloadInterval
:
time
.
Minute
*
10
,
ConfigPersistence
:
&
rollupNode
.
DisabledConfigPersistence
{},
...
...
op-e2e/system_test.go
View file @
13661cf1
...
...
@@ -1420,9 +1420,7 @@ func StopStartBatcher(t *testing.T, deltaTimeOffset *hexutil.Uint64) {
require
.
NoError
(
t
,
err
,
"Error starting up system"
)
defer
sys
.
Close
()
rollupRPCClient
,
err
:=
rpc
.
DialContext
(
context
.
Background
(),
sys
.
RollupNodes
[
"verifier"
]
.
HTTPEndpoint
())
require
.
NoError
(
t
,
err
)
rollupClient
:=
sources
.
NewRollupClient
(
client
.
NewBaseRPCClient
(
rollupRPCClient
))
rollupClient
:=
sys
.
RollupClient
(
"verifier"
)
l2Seq
:=
sys
.
Clients
[
"sequencer"
]
l2Verif
:=
sys
.
Clients
[
"verifier"
]
...
...
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