[Feature] Add Oracle module
#41
Annotations
10 errors and 2 warnings
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)
|
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)
|
x/auction/keeper/abci.go#L24
Error return value of `k.lastestAuctionPeriod.Set` is not checked (errcheck)
|
x/auction/keeper/abci.go#L84
Error return value of `k.refundBidders` is not checked (errcheck)
|
x/auction/keeper/keeper.go#L82
SA1019: sdk.LengthPrefixedAddressKey is deprecated: LengthPrefixedAddressKey implements an SDK backwards compatible indexing key encoder for addresses. The status quo in the SDK is that address keys are length prefixed even when they're the last part of a composite key. This should never be used unless to retain state compatibility. For example, a composite key composed of `[string, address]` in theory would need you only to define a way to understand when the string part finishes, we usually do this by appending a null byte to the string, then when you know when the string part finishes, it's logical that the part which remains is the address key. In the SDK instead we prepend to the address key its length too. (staticcheck)
|
x/oracle/keeper/band_oracle.go#L307
Error return value of `k.SetBandCallDataRecord` is not checked (errcheck)
|
x/oracle/keeper/band_oracle.go#L312
Error return value of `k.SetBandLatestClientID` is not checked (errcheck)
|
x/oracle/keeper/band_oracle.go#L346
Error return value of `k.DeleteBandCallDataRecord` is not checked (errcheck)
|
x/oracle/proposal_handler.go#L48
Error return value of `k.SetBandParams` is not checked (errcheck)
|
x/oracle/proposal_handler.go#L60
Error return value of `k.SetBandOracleRequest` is not checked (errcheck)
|
The following actions use a deprecated Node.js version and will be forced to run on node20: golangci/golangci-lint-action@v3.7.0. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
|
This job failed
Loading