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

Feat/upgrade app v2 #57

Feat/upgrade app v2

Feat/upgrade app v2 #57

Triggered via pull request February 28, 2024 13:32
Status Failure
Total duration 49s
Artifacts

lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 2 warnings
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: testutil/network/network.go#L81
cannot use encoding (variable of type "github.com/mycel-domain/mycel/app/params".EncodingConfig) as func(*baseapp.BaseApp) value in argument to app.New
lint: testutil/network/network.go#L82
cannot use simtestutil.EmptyAppOptions{} (value of type sims.EmptyAppOptions) as func(*baseapp.BaseApp) value in argument to app.New
lint: testutil/network/network.go#L83
cannot use wasmOpt (variable of type []"github.com/CosmWasm/wasmd/x/wasm/keeper".Option) as func(*baseapp.BaseApp) value in argument to app.New (typecheck)
lint: x/epochs/keeper/abci_test.go#L1
: # github.com/mycel-domain/mycel/x/epochs/keeper_test [github.com/mycel-domain/mycel/x/epochs/keeper.test]
lint: x/epochs/keeper/setup_test.go#L10
"github.com/cosmos/cosmos-sdk/x/auth/types" imported as authtypes and not used (typecheck)
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.go#L184
exported: func name will be used as app.AppConfig by other packages, and that stutters; consider calling this Config (revive)