@@ -10,6 +10,7 @@ import (
1010 "github.com/stretchr/testify/require"
1111
1212 coreexecutor "github.com/evstack/ev-node/core/execution"
13+ evconfig "github.com/evstack/ev-node/pkg/config"
1314)
1415
1516// TestTxGossipingMultipleNodesNoDA tests that transactions are gossiped and blocks are sequenced and synced across multiple nodes without the DA layer over P2P.
@@ -18,7 +19,7 @@ func TestTxGossipingMultipleNodesNoDA(t *testing.T) {
1819 require := require .New (t )
1920 config := getTestConfig (t , 1 )
2021 // Set the DA block time to a very large value to ensure that the DA layer is not used
21- config .DA .BlockTime = config .DurationWrapper {Duration : 100 * time .Second }
22+ config .DA .BlockTime = evconfig .DurationWrapper {Duration : 100 * time .Second }
2223 numNodes := 3
2324 nodes , cleanups := createNodesWithCleanup (t , numNodes , config )
2425 for _ , cleanup := range cleanups {
@@ -123,8 +124,8 @@ func TestFastDASync(t *testing.T) {
123124 config := getTestConfig (t , 1 )
124125 // Set the block time to 2 seconds and the DA block time to 1 second
125126 // Note: these are large values to avoid test failures due to slow CI machines
126- config .Node .BlockTime = config .DurationWrapper {Duration : 2 * time .Second }
127- config .DA .BlockTime = config .DurationWrapper {Duration : 1 * time .Second }
127+ config .Node .BlockTime = evconfig .DurationWrapper {Duration : 2 * time .Second }
128+ config .DA .BlockTime = evconfig .DurationWrapper {Duration : 1 * time .Second }
128129
129130 nodes , cleanups := createNodesWithCleanup (t , 2 , config )
130131 for _ , cleanup := range cleanups {
@@ -167,8 +168,8 @@ func TestSingleSequencerTwoFullNodesBlockSyncSpeed(t *testing.T) {
167168
168169 // Set up three nodes: 1 sequencer, 2 full nodes
169170 config := getTestConfig (t , 1 )
170- config .Node .BlockTime = config .DurationWrapper {Duration : 100 * time .Millisecond } // fast block time
171- config .DA .BlockTime = config .DurationWrapper {Duration : 10 * time .Second } // slow DA block time
171+ config .Node .BlockTime = evconfig .DurationWrapper {Duration : 100 * time .Millisecond } // fast block time
172+ config .DA .BlockTime = evconfig .DurationWrapper {Duration : 10 * time .Second } // slow DA block time
172173
173174 numNodes := 3
174175 nodes , cleanups := createNodesWithCleanup (t , numNodes , config )
0 commit comments