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

Feat/upgrade app v2 #58

Feat/upgrade app v2

Feat/upgrade app v2 #58

Triggered via pull request February 28, 2024 15:16
Status Failure
Total duration 52s
Artifacts

lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 10 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/epoch_info_test.go#L10
"github.com/cosmos/cosmos-sdk/types" imported as sdk and not used
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#L182
exported: func name will be used as app.AppConfig by other packages, and that stutters; consider calling this Config (revive)
lint: x/furnace/keeper/epoch_burn_config_test.go#L15
context-as-argument: context.Context should be the first parameter of a function (revive)
lint: x/furnace/keeper/burn_amount_test.go#L25
context-as-argument: context.Context should be the first parameter of a function (revive)
lint: x/registry/keeper/top_level_domain_test.go#L24
context-as-argument: context.Context should be the first parameter of a function (revive)
lint: x/registry/keeper/top_level_domain_test.go#L37
context-as-argument: context.Context should be the first parameter of a function (revive)
lint: x/registry/keeper/second_level_domain_test.go#L26
context-as-argument: context.Context should be the first parameter of a function (revive)
lint: x/registry/keeper/domain_ownership_test.go#L19
context-as-argument: context.Context should be the first parameter of a function (revive)
lint: x/registry/keeper/second_level_domain_test.go#L37
context-as-argument: context.Context should be the first parameter of a function (revive)
lint: x/registry/keeper/second_level_domain_test.go#L51
context-as-argument: context.Context should be the first parameter of a function (revive)