Skip to content

Commit 50437de

Browse files
authored
chore(i): Update URLs and Go version (#115)
1 parent 98c7df0 commit 50437de

38 files changed

Lines changed: 96 additions & 80 deletions

go.work

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
go 1.21
1+
go 1.23
22

33
use (
44
./host-go
5-
./tests/modules
65
./tests/integration
6+
./tests/modules
77
)

host-go/cli/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ import (
99
"io"
1010
"os"
1111

12-
"github.com/lens-vm/lens/host-go/config"
1312
"github.com/sourcenetwork/immutable/enumerable"
13+
"github.com/sourcenetwork/lens/host-go/config"
1414
)
1515

1616
func main() {

host-go/config/config.go

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,12 @@
55
package config
66

77
import (
8-
"github.com/lens-vm/lens/host-go/config/internal/json"
9-
"github.com/lens-vm/lens/host-go/config/model"
10-
"github.com/lens-vm/lens/host-go/engine"
11-
"github.com/lens-vm/lens/host-go/engine/module"
12-
"github.com/lens-vm/lens/host-go/runtimes"
138
"github.com/sourcenetwork/immutable/enumerable"
9+
"github.com/sourcenetwork/lens/host-go/config/internal/json"
10+
"github.com/sourcenetwork/lens/host-go/config/model"
11+
"github.com/sourcenetwork/lens/host-go/engine"
12+
"github.com/sourcenetwork/lens/host-go/engine/module"
13+
"github.com/sourcenetwork/lens/host-go/runtimes"
1414
)
1515

1616
// LoadFromFile loads a lens file at the given path and applies it to the provided src.

host-go/config/internal/json/json.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import (
88
"encoding/json"
99
"os"
1010

11-
"github.com/lens-vm/lens/host-go/config/model"
11+
"github.com/sourcenetwork/lens/host-go/config/model"
1212
)
1313

1414
type Lens struct {

host-go/engine/engine.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@ import (
1212
"os"
1313
"strings"
1414

15-
"github.com/lens-vm/lens/host-go/engine/module"
16-
"github.com/lens-vm/lens/host-go/engine/pipes"
1715
"github.com/sourcenetwork/immutable/enumerable"
16+
"github.com/sourcenetwork/lens/host-go/engine/module"
17+
"github.com/sourcenetwork/lens/host-go/engine/pipes"
1818
)
1919

2020
// Append appends the given Module Instances to the given source Enumerable, returning the result.

host-go/engine/pipes/fromPipe.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import (
1111
"io"
1212
"math"
1313

14-
"github.com/lens-vm/lens/host-go/engine/module"
14+
"github.com/sourcenetwork/lens/host-go/engine/module"
1515
)
1616

1717
type fromPipe[TSource any, TResult any] struct {

host-go/engine/pipes/fromSource.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ import (
1111
"io"
1212
"math"
1313

14-
"github.com/lens-vm/lens/host-go/engine/module"
1514
"github.com/sourcenetwork/immutable/enumerable"
15+
"github.com/sourcenetwork/lens/host-go/engine/module"
1616
)
1717

1818
type fromSource[TSource any, TResult any] struct {

host-go/engine/pipes/protocol.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import (
99
"encoding/binary"
1010
"io"
1111

12-
"github.com/lens-vm/lens/host-go/engine/module"
12+
"github.com/sourcenetwork/lens/host-go/engine/module"
1313
)
1414

1515
// ReadTypeId returns the type id of the next item from the given reader.

host-go/engine/tests/append_lens_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ import (
1111
"math"
1212
"testing"
1313

14-
"github.com/lens-vm/lens/host-go/engine"
15-
"github.com/lens-vm/lens/host-go/engine/module"
1614
"github.com/sourcenetwork/immutable/enumerable"
15+
"github.com/sourcenetwork/lens/host-go/engine"
16+
"github.com/sourcenetwork/lens/host-go/engine/module"
1717

1818
"github.com/stretchr/testify/assert"
1919
"github.com/stretchr/testify/require"

host-go/engine/tests/utils.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
package tests
66

77
import (
8-
"github.com/lens-vm/lens/host-go/engine/module"
9-
"github.com/lens-vm/lens/host-go/runtimes"
8+
"github.com/sourcenetwork/lens/host-go/engine/module"
9+
"github.com/sourcenetwork/lens/host-go/runtimes"
1010
)
1111

1212
type type1 struct {

0 commit comments

Comments
 (0)