Skip to content
This repository has been archived by the owner on Oct 24, 2024. It is now read-only.

Feat/upgrade app v2 #54

Feat/upgrade app v2

Feat/upgrade app v2 #54

Triggered via pull request February 26, 2024 16:09
Status Failure
Total duration 1m 14s
Artifacts

lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 3 warnings
lint: testutil/keeper/epochs.go#L1
: # github.com/mycel-domain/mycel/testutil/keeper
lint: testutil/keeper/epochs.go#L49
cannot use storeKey (variable of type *"cosmossdk.io/store/types".KVStoreKey) as "cosmossdk.io/core/store".KVStoreService value in argument to keeper.NewKeeper: *"cosmossdk.io/store/types".KVStoreKey does not implement "cosmossdk.io/core/store".KVStoreService (missing method OpenKVStore)
lint: testutil/keeper/epochs.go#L50
cannot use memStoreKey (variable of type *"cosmossdk.io/store/types".MemoryStoreKey) as "cosmossdk.io/log".Logger value in argument to keeper.NewKeeper: *"cosmossdk.io/store/types".MemoryStoreKey does not implement "cosmossdk.io/log".Logger (missing method Debug)
lint: testutil/keeper/epochs.go#L51
cannot use paramsSubspace (variable of type "github.com/cosmos/cosmos-sdk/x/params/types".Subspace) as string value in argument to keeper.NewKeeper
lint: testutil/keeper/epochs.go#L57
k.SetParams undefined (type *"github.com/mycel-domain/mycel/x/epochs/keeper".Keeper has no field or method SetParams) (typecheck)
lint: testutil/network/network.go#L1
: # github.com/mycel-domain/mycel/testutil/network
lint: testutil/network/network.go#L73
too many return values
lint: testutil/network/network.go#L78
cannot use map[int64]bool{} (value of type map[int64]bool) as "github.com/cosmos/cosmos-sdk/server/types".AppOptions value in argument to app.New: map[int64]bool does not implement "github.com/cosmos/cosmos-sdk/server/types".AppOptions (missing method Get)
lint: testutil/network/network.go#L79
cannot use val.GetCtx().Config.RootDir (variable of type string) as func(*baseapp.BaseApp) value in argument to app.New
lint: testutil/network/network.go#L80
cannot use 0 (untyped int constant) as func(*baseapp.BaseApp) value in argument to app.New
lint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-go@v4, 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: app/app_config.go#L8
blank-imports: a blank import should be only in a main or test package, or have a comment justifying it (revive)
lint: app/app.go#L180
exported: func name will be used as app.AppConfig by other packages, and that stutters; consider calling this Config (revive)