Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .github/workflows/build&relase.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,8 @@ jobs:
run: |
sudo apt-get update
sudo apt-get install -y libwebp-dev
# Fix for Lumera module checksum issue
go env -w GOPRIVATE=github.com/LumeraProtocol/lumera

- name: Build binary
run: |
Expand Down Expand Up @@ -149,6 +151,8 @@ jobs:
run: |
sudo apt-get update
sudo apt-get install -y libwebp-dev
# Fix for Lumera module checksum issue
go env -w GOPRIVATE=github.com/LumeraProtocol/lumera

- name: Build Release Version
run: |
Expand Down
11 changes: 8 additions & 3 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,9 @@ jobs:
uses: ./.github/actions/setup-env

- name: Install dependencies
run: go mod download
run: |
go env -w GOPRIVATE=github.com/LumeraProtocol/lumera
go mod download

- name: Run unit tests
run: go test $(go list ./... | grep -v '/tests') -v
Expand All @@ -37,7 +39,9 @@ jobs:
uses: ./.github/actions/setup-env

- name: Install dependencies
run: go mod download
run: |
go env -w GOPRIVATE=github.com/LumeraProtocol/lumera
go mod download

- name: Run integration tests
run: go test -v ./tests/integration/...
Expand All @@ -55,8 +59,9 @@ jobs:

- name: Install dependencies
run: |
go env -w GOPRIVATE=github.com/LumeraProtocol/lumera
go mod download
cd tests/system && go mod download
cd tests/system && go env -w GOPRIVATE=github.com/LumeraProtocol/lumera && go mod download

- name: Install Lumera
run: |
Expand Down
5 changes: 3 additions & 2 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,11 @@ module github.com/LumeraProtocol/supernode

go 1.24.1

replace "github.com/LumeraProtocol/supernode/supernode" => ./supernode
replace github.com/LumeraProtocol/supernode/supernode => ./supernode

require (
cosmossdk.io/math v1.5.3
github.com/LumeraProtocol/lumera v0.4.5
github.com/LumeraProtocol/lumera v1.0.1
github.com/LumeraProtocol/rq-go v0.2.1
github.com/btcsuite/btcutil v1.0.3-0.20201208143702-a53e38424cce
github.com/cenkalti/backoff/v4 v4.3.0
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,8 @@ github.com/DataDog/datadog-go v3.2.0+incompatible/go.mod h1:LButxg5PwREeZtORoXG3
github.com/DataDog/zstd v1.5.5 h1:oWf5W7GtOLgp6bciQYDmhHHjdhYkALu6S/5Ni9ZgSvQ=
github.com/DataDog/zstd v1.5.5/go.mod h1:g4AWEaM3yOg3HYfnJ3YIawPnVdXJh9QME85blwSAmyw=
github.com/Knetic/govaluate v3.0.1-0.20171022003610-9aa49832a739+incompatible/go.mod h1:r7JcOSlj0wfOMncg0iLm8Leh48TZaKVeNIfJntJ2wa0=
github.com/LumeraProtocol/lumera v0.4.5 h1:eeDeUFMKYAbCKDZVZzPsFpdiypoWsFUD37fd49EyGSE=
github.com/LumeraProtocol/lumera v0.4.5/go.mod h1:c1M+sjewuCvxw+pznwlspUzenDJI8Y+suKB3RFKS2Wo=
github.com/LumeraProtocol/lumera v1.0.1 h1:gnSbyQfVeYS2pCvR2AxrD8UWR++IEVYz4ywk3GiI25k=
github.com/LumeraProtocol/lumera v1.0.1/go.mod h1:c1M+sjewuCvxw+pznwlspUzenDJI8Y+suKB3RFKS2Wo=
github.com/LumeraProtocol/rq-go v0.2.1 h1:8B3UzRChLsGMmvZ+UVbJsJj6JZzL9P9iYxbdUwGsQI4=
github.com/LumeraProtocol/rq-go v0.2.1/go.mod h1:APnKCZRh1Es2Vtrd2w4kCLgAyaL5Bqrkz/BURoRJ+O8=
github.com/Shopify/sarama v1.19.0/go.mod h1:FVkBWblsNy7DGZRfXLU0O9RCGt5g3g3yEuWXgklEdEo=
Expand Down
2 changes: 1 addition & 1 deletion pkg/lumera/modules/action/action_mock.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pkg/lumera/modules/action/impl.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"context"
"fmt"

"github.com/LumeraProtocol/lumera/x/action/types"
"github.com/LumeraProtocol/lumera/x/action/v1/types"
"google.golang.org/grpc"
)

Expand Down
2 changes: 1 addition & 1 deletion pkg/lumera/modules/action/interface.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ package action
import (
"context"

"github.com/LumeraProtocol/lumera/x/action/types"
"github.com/LumeraProtocol/lumera/x/action/v1/types"
"google.golang.org/grpc"
)

Expand Down
2 changes: 1 addition & 1 deletion pkg/lumera/modules/action_msg/impl.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"strconv"

actionapi "github.com/LumeraProtocol/lumera/api/lumera/action"
actiontypes "github.com/LumeraProtocol/lumera/x/action/types"
actiontypes "github.com/LumeraProtocol/lumera/x/action/v1/types"
"github.com/LumeraProtocol/supernode/pkg/logtrace"
"github.com/cosmos/cosmos-sdk/client"
"github.com/cosmos/cosmos-sdk/client/tx"
Expand Down
2 changes: 1 addition & 1 deletion pkg/lumera/modules/supernode/impl.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"fmt"
"sort"

"github.com/LumeraProtocol/lumera/x/supernode/types"
"github.com/LumeraProtocol/lumera/x/supernode/v1/types"
"github.com/LumeraProtocol/supernode/pkg/errors"

"google.golang.org/grpc"
Expand Down
2 changes: 1 addition & 1 deletion pkg/lumera/modules/supernode/interface.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ package supernode
import (
"context"

"github.com/LumeraProtocol/lumera/x/supernode/types"
"github.com/LumeraProtocol/lumera/x/supernode/v1/types"
"google.golang.org/grpc"
)

Expand Down
2 changes: 1 addition & 1 deletion pkg/lumera/modules/supernode/supernode_mock.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions pkg/testutil/lumera.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ package testutil
import (
"context"

"github.com/LumeraProtocol/lumera/x/action/types"
supernodeTypes "github.com/LumeraProtocol/lumera/x/supernode/types"
"github.com/LumeraProtocol/lumera/x/action/v1/types"
supernodeTypes "github.com/LumeraProtocol/lumera/x/supernode/v1/types"
"github.com/LumeraProtocol/supernode/pkg/lumera"
"github.com/LumeraProtocol/supernode/pkg/lumera/modules/action"
"github.com/LumeraProtocol/supernode/pkg/lumera/modules/action_msg"
Expand Down
4 changes: 2 additions & 2 deletions sdk/adapters/lumera/adapter.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ import (

"github.com/LumeraProtocol/supernode/sdk/log"

actiontypes "github.com/LumeraProtocol/lumera/x/action/types"
actiontypes "github.com/LumeraProtocol/lumera/x/action/v1/types"

sntypes "github.com/LumeraProtocol/lumera/x/supernode/types"
sntypes "github.com/LumeraProtocol/lumera/x/supernode/v1/types"
lumeraclient "github.com/LumeraProtocol/supernode/pkg/lumera"
"github.com/cosmos/cosmos-sdk/crypto/keyring"
"github.com/golang/protobuf/proto"
Expand Down
5 changes: 3 additions & 2 deletions supernode/services/cascade/adaptors/lumera.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@ package adaptors

import (
"context"
actiontypes "github.com/LumeraProtocol/lumera/x/action/types"
sntypes "github.com/LumeraProtocol/lumera/x/supernode/types"

actiontypes "github.com/LumeraProtocol/lumera/x/action/v1/types"
sntypes "github.com/LumeraProtocol/lumera/x/supernode/v1/types"
"github.com/LumeraProtocol/supernode/pkg/lumera"
"github.com/LumeraProtocol/supernode/pkg/lumera/modules/action_msg"
)
Expand Down
4 changes: 2 additions & 2 deletions supernode/services/cascade/adaptors/mocks/lumera_mock.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion supernode/services/cascade/helper.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"strings"

"cosmossdk.io/math"
actiontypes "github.com/LumeraProtocol/lumera/x/action/types"
actiontypes "github.com/LumeraProtocol/lumera/x/action/v1/types"
"github.com/LumeraProtocol/supernode/pkg/codec"
"github.com/LumeraProtocol/supernode/pkg/errors"
"github.com/LumeraProtocol/supernode/pkg/logtrace"
Expand Down
2 changes: 1 addition & 1 deletion tests/system/e2e_cascade_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import (
"github.com/LumeraProtocol/supernode/sdk/action"
"github.com/LumeraProtocol/supernode/sdk/event"

"github.com/LumeraProtocol/lumera/x/action/types"
"github.com/LumeraProtocol/lumera/x/action/v1/types"
sdkconfig "github.com/LumeraProtocol/supernode/sdk/config"

"github.com/stretchr/testify/require"
Expand Down
2 changes: 1 addition & 1 deletion tests/system/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ require (

require (
cosmossdk.io/math v1.5.3
github.com/LumeraProtocol/lumera v0.4.5
github.com/LumeraProtocol/lumera v1.0.1
github.com/LumeraProtocol/supernode v0.0.0-00010101000000-000000000000
github.com/cometbft/cometbft v0.38.17
github.com/tidwall/gjson v1.14.2
Expand Down
4 changes: 2 additions & 2 deletions tests/system/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,8 @@ github.com/GoogleCloudPlatform/opentelemetry-operations-go/exporter/metric v0.48
github.com/GoogleCloudPlatform/opentelemetry-operations-go/internal/resourcemapping v0.48.1 h1:8nn+rsCvTq9axyEh382S0PFLBeaFwNsT43IrPWzctRU=
github.com/GoogleCloudPlatform/opentelemetry-operations-go/internal/resourcemapping v0.48.1/go.mod h1:viRWSEhtMZqz1rhwmOVKkWl6SwmVowfL9O2YR5gI2PE=
github.com/Knetic/govaluate v3.0.1-0.20171022003610-9aa49832a739+incompatible/go.mod h1:r7JcOSlj0wfOMncg0iLm8Leh48TZaKVeNIfJntJ2wa0=
github.com/LumeraProtocol/lumera v0.4.5 h1:eeDeUFMKYAbCKDZVZzPsFpdiypoWsFUD37fd49EyGSE=
github.com/LumeraProtocol/lumera v0.4.5/go.mod h1:c1M+sjewuCvxw+pznwlspUzenDJI8Y+suKB3RFKS2Wo=
github.com/LumeraProtocol/lumera v1.0.1 h1:gnSbyQfVeYS2pCvR2AxrD8UWR++IEVYz4ywk3GiI25k=
github.com/LumeraProtocol/lumera v1.0.1/go.mod h1:c1M+sjewuCvxw+pznwlspUzenDJI8Y+suKB3RFKS2Wo=
github.com/LumeraProtocol/rq-go v0.2.1 h1:8B3UzRChLsGMmvZ+UVbJsJj6JZzL9P9iYxbdUwGsQI4=
github.com/LumeraProtocol/rq-go v0.2.1/go.mod h1:APnKCZRh1Es2Vtrd2w4kCLgAyaL5Bqrkz/BURoRJ+O8=
github.com/Microsoft/go-winio v0.6.1 h1:9/kr64B9VUZrLm5YYwbGtUJnMgqWVOdUAXu6Migciow=
Expand Down