@@ -11,7 +11,6 @@ import (
1111
1212 coreda "github.com/evstack/ev-node/core/da"
1313 datypes "github.com/evstack/ev-node/pkg/da/types"
14- "github.com/evstack/ev-node/pkg/namespace"
1514)
1615
1716// mockDA is a simple mock implementation of coreda.DA for testing
@@ -330,7 +329,7 @@ func TestClient_Submit(t *testing.T) {
330329 DataNamespace : "test-data-namespace" ,
331330 })
332331
333- encodedNamespace := namespace .NamespaceFromString ("test-namespace" )
332+ encodedNamespace := datypes .NamespaceFromString ("test-namespace" )
334333 result := client .Submit (context .Background (), tc .data , tc .gasPrice , encodedNamespace .Bytes (), tc .options )
335334
336335 assert .Equal (t , tc .expectedCode , result .Code )
@@ -449,7 +448,7 @@ func TestClient_Retrieve(t *testing.T) {
449448 DefaultTimeout : 5 * time .Second ,
450449 })
451450
452- encodedNamespace := namespace .NamespaceFromString ("test-namespace" )
451+ encodedNamespace := datypes .NamespaceFromString ("test-namespace" )
453452 result := client .Retrieve (context .Background (), dataLayerHeight , encodedNamespace .Bytes ())
454453
455454 assert .Equal (t , tc .expectedCode , result .Code )
@@ -470,7 +469,7 @@ func TestClient_Retrieve(t *testing.T) {
470469func TestClient_Retrieve_Timeout (t * testing.T ) {
471470 logger := zerolog .Nop ()
472471 dataLayerHeight := uint64 (100 )
473- encodedNamespace := namespace .NamespaceFromString ("test-namespace" )
472+ encodedNamespace := datypes .NamespaceFromString ("test-namespace" )
474473
475474 t .Run ("timeout during GetIDs" , func (t * testing.T ) {
476475 mockDAInstance := & mockDA {
0 commit comments