Skip to content

Commit 63d6506

Browse files
committed
e2e tests
1 parent 648aa39 commit 63d6506

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

test/e2e/evm_full_node_e2e_test.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -956,6 +956,7 @@ func restartSequencerAndFullNode(t *testing.T, sut *SystemUnderTest, sequencerHo
956956
"--evm.eth-url", endpoints.GetFullNodeEthURL(),
957957
"--rollkit.da.address", endpoints.GetDAAddress(),
958958
"--rollkit.da.block_time", DefaultDABlockTime,
959+
"--rollkit.da.namespace", DefaultDANamespace,
959960
)
960961

961962
// Give both nodes time to establish P2P connections

test/e2e/evm_test_common.go

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -177,6 +177,7 @@ const (
177177
DefaultBlockTime = "150ms"
178178
DefaultDABlockTime = "1s"
179179
DefaultTestTimeout = 20 * time.Second
180+
DefaultDANamespace = "evm-e2e"
180181
DefaultChainID = "1234"
181182
DefaultGasLimit = 22000
182183

@@ -317,6 +318,7 @@ func setupSequencerNode(t *testing.T, sut *SystemUnderTest, sequencerHome, jwtSe
317318
"--home", sequencerHome,
318319
"--evnode.da.block_time", DefaultDABlockTime,
319320
"--evnode.da.address", endpoints.GetDAAddress(),
321+
"--evnode.da.namespace", DefaultDANamespace,
320322
"--evnode.rpc.address", endpoints.GetRollkitRPCListen(),
321323
"--evnode.p2p.listen_address", endpoints.GetRollkitP2PAddress(),
322324
"--evm.engine-url", endpoints.GetSequencerEngineURL(),
@@ -360,6 +362,7 @@ func setupSequencerNodeLazy(t *testing.T, sut *SystemUnderTest, sequencerHome, j
360362
"--home", sequencerHome,
361363
"--evnode.da.block_time", DefaultDABlockTime,
362364
"--evnode.da.address", endpoints.GetDAAddress(),
365+
"--evnode.da.namespace", DefaultDANamespace,
363366
"--evnode.rpc.address", endpoints.GetRollkitRPCListen(),
364367
"--evnode.p2p.listen_address", endpoints.GetRollkitP2PAddress(),
365368
"--evm.engine-url", endpoints.GetSequencerEngineURL(),
@@ -417,6 +420,7 @@ func setupFullNode(t *testing.T, sut *SystemUnderTest, fullNodeHome, sequencerHo
417420
"--evm.eth-url", endpoints.GetFullNodeEthURL(),
418421
"--rollkit.da.block_time", DefaultDABlockTime,
419422
"--rollkit.da.address", endpoints.GetDAAddress(),
423+
"--rollkit.da.namespace", DefaultDANamespace,
420424
"--rollkit.rpc.address", endpoints.GetFullNodeRPCListen(),
421425
"--rollkit.p2p.listen_address", endpoints.GetFullNodeP2PAddress(),
422426
}
@@ -621,6 +625,7 @@ func restartDAAndSequencer(t *testing.T, sut *SystemUnderTest, sequencerHome, jw
621625
"--home", sequencerHome,
622626
"--evnode.da.address", endpoints.GetDAAddress(),
623627
"--evnode.da.block_time", DefaultDABlockTime,
628+
"--evnode.da.namespace", DefaultDANamespace,
624629
"--evnode.rpc.address", endpoints.GetRollkitRPCListen(),
625630
"--evnode.p2p.listen_address", endpoints.GetRollkitP2PAddress(),
626631
"--evm.engine-url", endpoints.GetSequencerEngineURL(),
@@ -670,6 +675,7 @@ func restartDAAndSequencerLazy(t *testing.T, sut *SystemUnderTest, sequencerHome
670675
"--home", sequencerHome,
671676
"--evnode.da.address", endpoints.GetDAAddress(),
672677
"--evnode.da.block_time", DefaultDABlockTime,
678+
"--evnode.da.namespace", DefaultDANamespace,
673679
"--evnode.rpc.address", endpoints.GetRollkitRPCListen(),
674680
"--evnode.p2p.listen_address", endpoints.GetRollkitP2PAddress(),
675681
"--evm.engine-url", endpoints.GetSequencerEngineURL(),
@@ -707,6 +713,7 @@ func restartSequencerNode(t *testing.T, sut *SystemUnderTest, sequencerHome, jwt
707713
"--home", sequencerHome,
708714
"--evnode.da.address", DAAddress,
709715
"--evnode.da.block_time", DefaultDABlockTime,
716+
"--evnode.da.namespace", DefaultDANamespace,
710717
)
711718

712719
time.Sleep(SlowPollingInterval)

0 commit comments

Comments
 (0)