Skip to content

[Feature] Add Oracle module #29

[Feature] Add Oracle module

[Feature] Add Oracle module #29

Triggered via pull request September 20, 2024 04:18
Status Failure
Total duration 48s
Artifacts

golangci.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 2 warnings
lint: x/oracle/bandtesting/x/oracle/types/expected_keepers.go#L6
SA1019: "github.com/cosmos/ibc-go/v8/modules/core/02-client/types" is deprecated: The legacy v1beta1 gov types maintained in this file are deprecated and will be removed in a future release. Please use MsgIBCSoftwareUpgrade and MsgRecoverClient in favour of the legacy v1beta1 gov proposal types. (staticcheck)
lint: x/oracle/bandtesting/x/oracle/keeper/result.go#L5
SA1019: "github.com/cosmos/ibc-go/v8/modules/core/02-client/types" is deprecated: The legacy v1beta1 gov types maintained in this file are deprecated and will be removed in a future release. Please use MsgIBCSoftwareUpgrade and MsgRecoverClient in favour of the legacy v1beta1 gov proposal types. (staticcheck)
lint: x/oracle/keeper/band_oracle.go#L307
Error return value of `k.SetBandCallDataRecord` is not checked (errcheck)
lint: x/oracle/keeper/band_oracle.go#L312
Error return value of `k.SetBandLatestClientID` is not checked (errcheck)
lint: x/oracle/keeper/band_oracle.go#L346
Error return value of `k.DeleteBandCallDataRecord` is not checked (errcheck)
lint: x/oracle/proposal_handler.go#L48
Error return value of `k.SetBandParams` is not checked (errcheck)
lint: x/oracle/proposal_handler.go#L60
Error return value of `k.SetBandOracleRequest` is not checked (errcheck)
lint: x/oracle/proposal_handler.go#L62
Error return value of `k.SetBandLatestRequestID` is not checked (errcheck)
lint: x/oracle/proposal_handler.go#L108
Error return value of `k.SetBandOracleRequest` is not checked (errcheck)
lint: x/oracle/proposal_handler.go#L119
Error return value of `k.DeleteBandOracleRequest` is not checked (errcheck)
lint
The following actions use a deprecated Node.js version and will be forced to run on node20: golangci/[email protected]. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
lint
Restore cache failed: Dependencies file is not found in /home/runner/work/reserve/reserve. Supported file pattern: go.sum