Skip to content

Feat/upgrade app v2 #53

Feat/upgrade app v2

Feat/upgrade app v2 #53

Triggered via pull request February 26, 2024 14:21
Status Failure
Total duration 3m 9s
Artifacts

lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 3 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/client/cli/query_epoch_info_test.go#L17
could not import github.com/mycel-domain/mycel/testutil/network (-: # 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: x/epochs/module/module.go#L86
empty-block: this block is empty, you can remove it (revive)
lint: app/app.go#L188
exported: func name will be used as app.AppConfig by other packages, and that stutters; consider calling this Config (revive)