Skip to content

Update go.mod

Update go.mod #1517

Triggered via push February 26, 2024 14:19
Status Failure
Total duration 1m 38s
Artifacts

go-lint.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 2 warnings
lint: go-cosmwasm/api/callbacks.go#L36
could not import C (cgo preprocessing failed) (typecheck)
lint: x/registration/internal/keeper/test_common.go#L89
undefined: params (typecheck)
lint: x/registration/internal/keeper/test_common.go#L100
undefined: params (typecheck)
lint: x/registration/internal/keeper/test_common.go#L115
not enough arguments in call to store.NewCommitMultiStore
lint: x/registration/internal/keeper/test_common.go#L116
cannot use db (variable of type *"github.com/tendermint/tm-db".MemDB) as "github.com/cosmos/cosmos-db".DB value in argument to ms.MountStoreWithDB: *"github.com/tendermint/tm-db".MemDB does not implement "github.com/cosmos/cosmos-db".DB (wrong type for method Iterator)
lint: x/registration/module.go#L15
"github.com/gorilla/mux" imported and not used (typecheck)
lint: x/compute/internal/keeper/test_common.go#L238
undefined: simappparams (typecheck)
lint: x/compute/internal/keeper/wasm_snapshotter.go#L54
cannot use (*WasmSnapshotter)(nil) (value of type *WasmSnapshotter) as "cosmossdk.io/store/snapshots/types".ExtensionSnapshotter value in variable declaration: *WasmSnapshotter does not implement "cosmossdk.io/store/snapshots/types".ExtensionSnapshotter (missing method RestoreExtension) (typecheck)
lint: x/compute/internal/keeper/keeper.go#L198
multiple-value store.Has(key) (value of type (bool, error)) in single-value context (typecheck)
lint: x/compute/internal/keeper/keeper.go#L433
assignment mismatch: 1 variable but store.Get returns 2 values (typecheck)
lint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: golangci/golangci-lint-action@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
lint
Restore cache failed: Dependencies file is not found in /home/runner/work/SecretNetwork/SecretNetwork. Supported file pattern: go.sum