Skip to content

[chore] Update to v3 + Patch cosmos sdk 0.50 #538

[chore] Update to v3 + Patch cosmos sdk 0.50

[chore] Update to v3 + Patch cosmos sdk 0.50 #538

Triggered via pull request September 16, 2024 07:40
Status Failure
Total duration 2m 16s
Artifacts

golangci-lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
lint: x/globalfee/keeper/grpc_query_test.go#L68
SA1019: sdk.WrapSDKContext is deprecated: there is no need to wrap anymore as the Cosmos SDK context implements context.Context. (staticcheck)
lint: x/globalfee/types/codec.go#L13
SA1019: codec.NewAminoCodec is deprecated: NewAminoCodec returns a reference to a new AminoCodec. Use NewLegacyAmino instead. (staticcheck)
lint: x/oracle/types/codec.go#L52
SA1019: codec.NewAminoCodec is deprecated: NewAminoCodec returns a reference to a new AminoCodec. Use NewLegacyAmino instead. (staticcheck)
lint: x/bank/keeper/keeper.go#L89
Error return value of `k.distrKeeper.FundCommunityPool` is not checked (errcheck)
lint: x/globalfee/module.go#L118
ST1016: methods on the same type should have the same receiver name (seen 2x "am", 4x "a") (stylecheck)
lint: x/oracle/keeper/grpc_query.go#L266
Error return value of `k.stakingKeeper.IterateBondedValidatorsByPower` is not checked (errcheck)
lint: x/oracle/keeper/owasm.go#L36
Error return value of `k.stakingKeeper.IterateBondedValidatorsByPower` is not checked (errcheck)
lint: x/oracle/keeper/validator_status.go#L69
Error return value of `k.distrKeeper.AllocateTokensToValidator` is not checked (errcheck)
lint: x/oracle/keeper/validator_status.go#L75
Error return value of `k.distrKeeper.FundCommunityPool` is not checked (errcheck)
lint: x/oracle/simulation/operations.go#L178
Error return value of `sk.IterateBondedValidatorsByPower` is not checked (errcheck)
lint
Restore cache failed: Dependencies file is not found in /home/runner/work/chain/chain. Supported file pattern: go.sum