[Feature] Add Oracle module
#42
Annotations
10 errors and 2 warnings
golangci-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)
|
golangci-lint:
x/auction/keeper/abci.go#L24
Error return value of `k.lastestAuctionPeriod.Set` is not checked (errcheck)
|
golangci-lint:
x/auction/keeper/abci.go#L84
Error return value of `k.refundBidders` is not checked (errcheck)
|
golangci-lint:
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)
|
golangci-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)
|
golangci-lint:
x/oracle/keeper/band_oracle.go#L251
Error return value of `k.SetBandOracleRequest` is not checked (errcheck)
|
golangci-lint:
x/oracle/keeper/band_oracle.go#L270
Error return value of `k.SetBandOracleRequest` is not checked (errcheck)
|
golangci-lint:
x/oracle/keeper/band_oracle.go#L272
Error return value of `k.SetBandLatestRequestID` is not checked (errcheck)
|
golangci-lint:
x/oracle/keeper/band_oracle.go#L365
Error return value of `k.SetBandCallDataRecord` is not checked (errcheck)
|
golangci-lint:
x/oracle/keeper/band_oracle.go#L370
Error return value of `k.SetBandLatestClientID` is not checked (errcheck)
|
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/
|
Run actions/setup-go@v5
Restore cache failed: Dependencies file is not found in /home/runner/work/reserve/reserve. Supported file pattern: go.sum
|
Loading