Skip to content

[Feature] Add Oracle module #35

[Feature] Add Oracle module

[Feature] Add Oracle module #35

Triggered via pull request September 25, 2024 11:17
Status Failure
Total duration 4m 50s
Artifacts

golangci.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 2 warnings
lint: x/auction/module/simulation.go#L37
unknown field PortId in struct literal of type "github.com/onomyprotocol/reserve/x/oracle/types".GenesisState (typecheck)
lint: x/auction/module/genesis_test.go#L1
: # github.com/onomyprotocol/reserve/x/auction/module_test [github.com/onomyprotocol/reserve/x/auction/module.test]
lint: x/auction/module/genesis_test.go#L17
unknown field PortId in struct literal of type "github.com/onomyprotocol/reserve/x/oracle/types".GenesisState
lint: x/auction/module/genesis_test.go#L29
genesisState.PortId undefined (type "github.com/onomyprotocol/reserve/x/oracle/types".GenesisState has no field or method PortId)
lint: x/auction/module/genesis_test.go#L29
got.PortId undefined (type *"github.com/onomyprotocol/reserve/x/oracle/types".GenesisState has no field or method PortId) (typecheck)
lint: x/auction/keeper/abci.go#L23
Error return value of `k.lastestAuctionPeriod.Set` is not checked (errcheck)
lint: x/auction/keeper/abci.go#L78
Error return value of `k.refundBidders` is not checked (errcheck)
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
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