test: Add CLI, gRPC, MsgServer tests (backport #1405) #4583
Annotations
10 errors and 2 warnings
golangci-lint:
x/fbridge/client/cli/query_test.go#L60
cannot use c (variable of type "github.com/Finschia/finschia-sdk/testutil/cli".MockTendermintRPC) as "github.com/Finschia/ostracon/rpc/client".Client value in argument to s.baseCtx.WithClient: "github.com/Finschia/finschia-sdk/testutil/cli".MockTendermintRPC does not implement "github.com/Finschia/ostracon/rpc/client".Client (wrong type for method ABCIInfo)
|
golangci-lint:
x/fbridge/client/cli/query_test.go#L97
cannot use c (variable of type "github.com/Finschia/finschia-sdk/testutil/cli".MockTendermintRPC) as "github.com/Finschia/ostracon/rpc/client".Client value in argument to s.baseCtx.WithClient: "github.com/Finschia/finschia-sdk/testutil/cli".MockTendermintRPC does not implement "github.com/Finschia/ostracon/rpc/client".Client (wrong type for method ABCIInfo)
|
golangci-lint:
x/fbridge/client/cli/query_test.go#L133
cannot use c (variable of type "github.com/Finschia/finschia-sdk/testutil/cli".MockTendermintRPC) as "github.com/Finschia/ostracon/rpc/client".Client value in argument to s.baseCtx.WithClient: "github.com/Finschia/finschia-sdk/testutil/cli".MockTendermintRPC does not implement "github.com/Finschia/ostracon/rpc/client".Client (wrong type for method ABCIInfo)
|
golangci-lint:
x/fbridge/client/cli/query_test.go#L149
cannot use c (variable of type "github.com/Finschia/finschia-sdk/testutil/cli".MockTendermintRPC) as "github.com/Finschia/ostracon/rpc/client".Client value in argument to s.baseCtx.WithClient: "github.com/Finschia/finschia-sdk/testutil/cli".MockTendermintRPC does not implement "github.com/Finschia/ostracon/rpc/client".Client (wrong type for method ABCIInfo)
|
golangci-lint:
x/fbridge/client/cli/query_test.go#L190
cannot use c (variable of type "github.com/Finschia/finschia-sdk/testutil/cli".MockTendermintRPC) as "github.com/Finschia/ostracon/rpc/client".Client value in argument to s.baseCtx.WithClient: "github.com/Finschia/finschia-sdk/testutil/cli".MockTendermintRPC does not implement "github.com/Finschia/ostracon/rpc/client".Client (wrong type for method ABCIInfo)
|
golangci-lint:
x/fbridge/client/cli/query_test.go#L225
cannot use c (variable of type "github.com/Finschia/finschia-sdk/testutil/cli".MockTendermintRPC) as "github.com/Finschia/ostracon/rpc/client".Client value in argument to s.baseCtx.WithClient: "github.com/Finschia/finschia-sdk/testutil/cli".MockTendermintRPC does not implement "github.com/Finschia/ostracon/rpc/client".Client (wrong type for method ABCIInfo)
|
golangci-lint:
x/fbridge/client/cli/query_test.go#L263
cannot use c (variable of type "github.com/Finschia/finschia-sdk/testutil/cli".MockTendermintRPC) as "github.com/Finschia/ostracon/rpc/client".Client value in argument to s.baseCtx.WithClient: "github.com/Finschia/finschia-sdk/testutil/cli".MockTendermintRPC does not implement "github.com/Finschia/ostracon/rpc/client".Client (wrong type for method ABCIInfo)
|
golangci-lint:
x/fbridge/client/cli/query_test.go#L275
cannot use c (variable of type "github.com/Finschia/finschia-sdk/testutil/cli".MockTendermintRPC) as "github.com/Finschia/ostracon/rpc/client".Client value in argument to s.baseCtx.WithClient: "github.com/Finschia/finschia-sdk/testutil/cli".MockTendermintRPC does not implement "github.com/Finschia/ostracon/rpc/client".Client (wrong type for method ABCIInfo)
|
golangci-lint:
x/fbridge/client/cli/query_test.go#L317
cannot use c (variable of type "github.com/Finschia/finschia-sdk/testutil/cli".MockTendermintRPC) as "github.com/Finschia/ostracon/rpc/client".Client value in argument to s.baseCtx.WithClient: "github.com/Finschia/finschia-sdk/testutil/cli".MockTendermintRPC does not implement "github.com/Finschia/ostracon/rpc/client".Client (wrong type for method ABCIInfo)
|
golangci-lint:
x/fbridge/client/cli/query_test.go#L333
cannot use c (variable of type "github.com/Finschia/finschia-sdk/testutil/cli".MockTendermintRPC) as "github.com/Finschia/ostracon/rpc/client".Client value in argument to s.baseCtx.WithClient: "github.com/Finschia/finschia-sdk/testutil/cli".MockTendermintRPC does not implement "github.com/Finschia/ostracon/rpc/client".Client (wrong type for method ABCIInfo)
|
golangci-lint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-go@v4.0.1, technote-space/get-diff-action@v6.1.2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
golangci-lint
Restore cache failed: Dependencies file is not found in /home/runner/work/finschia-sdk/finschia-sdk. Supported file pattern: go.sum
|