Skip to content

Feat/upgrade app v2 #55

Feat/upgrade app v2

Feat/upgrade app v2 #55

Triggered via pull request February 26, 2024 18:12
Status Failure
Total duration 50s
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)
lint: testutil/keeper/furnace.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/furnace.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/furnace.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 (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
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#L182
exported: func name will be used as app.AppConfig by other packages, and that stutters; consider calling this Config (revive)