Skip to content

chore: api cleanups #31242

chore: api cleanups

chore: api cleanups #31242

Triggered via pull request February 23, 2024 20:58
Status Failure
Total duration 1m 6s
Artifacts

dependencies-review.yml

on: pull_request
dependency-review
55s
dependency-review
Fit to window
Zoom out
Zoom in

Annotations

10 errors
dependency-review: x/staking/types/validator.go#L41
cannot use Validator{} (value of type Validator) as "github.com/cosmos/cosmos-sdk/types".ValidatorI value in variable declaration: Validator does not implement "github.com/cosmos/cosmos-sdk/types".ValidatorI (missing method TmConsPublicKey)
dependency-review: x/staking/types/validator.go#L83
cannot use val (variable of type Validator) as "github.com/cosmos/cosmos-sdk/types".ValidatorI value in argument to append: Validator does not implement "github.com/cosmos/cosmos-sdk/types".ValidatorI (missing method TmConsPublicKey)
dependency-review: x/staking/types/validator.go#L262
v.TmConsPublicKey undefined (type Validator has no field or method TmConsPublicKey)
dependency-review: x/staking/types/validator.go#L276
v.TmConsPublicKey undefined (type Validator has no field or method TmConsPublicKey)
dependency-review: runtime/services.go#L12
cannot use a.ModuleManager.Modules (variable of type map[string]appmodule.AppModule) as map[string]interface{} value in argument to services.NewAutoCLIQueryService
dependency-review: x/staking/keeper/alias_functions.go#L32
cannot use validator (variable of type "cosmossdk.io/x/staking/types".Validator) as "github.com/cosmos/cosmos-sdk/types".ValidatorI value in argument to fn: "cosmossdk.io/x/staking/types".Validator does not implement "github.com/cosmos/cosmos-sdk/types".ValidatorI (missing method TmConsPublicKey)
dependency-review: x/staking/keeper/alias_functions.go#L65
cannot use validator (variable of type "cosmossdk.io/x/staking/types".Validator) as "github.com/cosmos/cosmos-sdk/types".ValidatorI value in argument to fn: "cosmossdk.io/x/staking/types".Validator does not implement "github.com/cosmos/cosmos-sdk/types".ValidatorI (missing method TmConsPublicKey)
dependency-review: x/staking/keeper/alias_functions.go#L78
cannot use k.GetValidator(ctx, address) (value of type "cosmossdk.io/x/staking/types".Validator) as "github.com/cosmos/cosmos-sdk/types".ValidatorI value in return statement: "cosmossdk.io/x/staking/types".Validator does not implement "github.com/cosmos/cosmos-sdk/types".ValidatorI (missing method TmConsPublicKey)
dependency-review: x/staking/keeper/alias_functions.go#L83
cannot use k.GetValidatorByConsAddr(ctx, addr) (value of type "cosmossdk.io/x/staking/types".Validator) as "github.com/cosmos/cosmos-sdk/types".ValidatorI value in return statement: "cosmossdk.io/x/staking/types".Validator does not implement "github.com/cosmos/cosmos-sdk/types".ValidatorI (missing method TmConsPublicKey)
dependency-review
Process completed with exit code 2.