Skip to content

Decouple MLS messages from messagev1 #1377

Decouple MLS messages from messagev1

Decouple MLS messages from messagev1 #1377

Triggered via pull request January 12, 2024 23:14
Status Failure
Total duration 54s
Artifacts

lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

9 errors
Lint: cmd/xmtpd/main.go#L15
could not import github.com/xmtp/xmtp-node-go/pkg/server (-: # github.com/xmtp/xmtp-node-go/pkg/server
Lint: pkg/server/server.go#L263
cannot use MLSStore (variable of type *"github.com/xmtp/xmtp-node-go/pkg/mls/store".Store) as "github.com/xmtp/xmtp-node-go/pkg/mls/store".MlsStore value in struct literal: *"github.com/xmtp/xmtp-node-go/pkg/mls/store".Store does not implement "github.com/xmtp/xmtp-node-go/pkg/mls/store".MlsStore (missing method GetGroupMessage)) (typecheck)
Lint: pkg/mls/api/v1/service.go#L1
: # github.com/xmtp/xmtp-node-go/pkg/mls/api/v1 [github.com/xmtp/xmtp-node-go/pkg/mls/api/v1.test]
Lint: pkg/mls/api/v1/service_test.go#L73
cannot use store (variable of type *"github.com/xmtp/xmtp-node-go/pkg/mls/store".Store) as "github.com/xmtp/xmtp-node-go/pkg/mls/store".MlsStore value in argument to NewService: *"github.com/xmtp/xmtp-node-go/pkg/mls/store".Store does not implement "github.com/xmtp/xmtp-node-go/pkg/mls/store".MlsStore (missing method GetGroupMessage) (typecheck)
Lint: pkg/server/options.go#L1
: # github.com/xmtp/xmtp-node-go/pkg/server [github.com/xmtp/xmtp-node-go/pkg/server.test]
Lint: pkg/server/server.go#L263
cannot use MLSStore (variable of type *"github.com/xmtp/xmtp-node-go/pkg/mls/store".Store) as "github.com/xmtp/xmtp-node-go/pkg/mls/store".MlsStore value in struct literal: *"github.com/xmtp/xmtp-node-go/pkg/mls/store".Store does not implement "github.com/xmtp/xmtp-node-go/pkg/mls/store".MlsStore (missing method GetGroupMessage) (typecheck)
Lint: pkg/api/server.go#L169
Error return value of `s.mlsv1.HandleIncomingWakuRelayMessage` is not checked (errcheck)
Lint: pkg/api/server.go#L173
Error return value of `s.messagev1.HandleIncomingWakuRelayMessage` is not checked (errcheck)
Lint
issues found