diff --git a/cmd/cartesi-rollups-node/validator.go b/cmd/cartesi-rollups-node/validator.go index fb57660fb..c3fcfeae1 100644 --- a/cmd/cartesi-rollups-node/validator.go +++ b/cmd/cartesi-rollups-node/validator.go @@ -4,7 +4,7 @@ package main import ( - "github.com/cartesi/rollups-node/internal/pkg/services" + "github.com/cartesi/rollups-node/internal/services" "github.com/spf13/cobra" ) diff --git a/internal/pkg/logger/logger.go b/internal/logger/logger.go similarity index 100% rename from internal/pkg/logger/logger.go rename to internal/logger/logger.go diff --git a/internal/pkg/services/graphql.go b/internal/services/graphql.go similarity index 94% rename from internal/pkg/services/graphql.go rename to internal/services/graphql.go index 7165ccc25..1043211e3 100644 --- a/internal/pkg/services/graphql.go +++ b/internal/services/graphql.go @@ -9,7 +9,7 @@ import ( "os/exec" "syscall" - "github.com/cartesi/rollups-node/internal/pkg/logger" + "github.com/cartesi/rollups-node/internal/logger" ) const ( diff --git a/internal/pkg/services/graphql_test.go b/internal/services/graphql_test.go similarity index 90% rename from internal/pkg/services/graphql_test.go rename to internal/services/graphql_test.go index ab7272656..c44f0def1 100644 --- a/internal/pkg/services/graphql_test.go +++ b/internal/services/graphql_test.go @@ -12,7 +12,7 @@ import ( "testing" "time" - "github.com/cartesi/rollups-node/internal/pkg/logger" + "github.com/cartesi/rollups-node/internal/logger" ) func setup() { @@ -46,7 +46,7 @@ func TestGraphQLService(t *testing.T) { } func setRustBinariesPath() { - rustBinPath, _ := filepath.Abs("../../../offchain/target/debug") + rustBinPath, _ := filepath.Abs("../../offchain/target/debug") os.Setenv("PATH", os.Getenv("PATH")+":"+rustBinPath) } diff --git a/internal/pkg/services/service.go b/internal/services/service.go similarity index 97% rename from internal/pkg/services/service.go rename to internal/services/service.go index e875601cf..340ff0c99 100644 --- a/internal/pkg/services/service.go +++ b/internal/services/service.go @@ -9,7 +9,7 @@ import ( "fmt" "time" - "github.com/cartesi/rollups-node/internal/pkg/logger" + "github.com/cartesi/rollups-node/internal/logger" ) // A service that runs in the background endlessly until the context is canceled