Skip to content

feat: oracle module #1170

feat: oracle module

feat: oracle module #1170

Triggered via pull request November 7, 2024 17:18
Status Failure
Total duration 5m 37s
Artifacts

go-lint.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
lint: x/oracle/keeper/ballot.go#L1
: # github.com/archway-network/archway/x/oracle/keeper
lint: x/oracle/keeper/update_exchange_rates.go#L17
cannot use err (variable of type error) as "github.com/archway-network/archway/x/oracle/types".ValidatorPerformances value in return statement (typecheck)
lint: app/keepers/keepers.go#L35
could not import github.com/archway-network/archway/x/oracle/keeper (-: # github.com/archway-network/archway/x/oracle/keeper
lint: x/oracle/keeper/update_exchange_rates.go#L17
cannot use err (variable of type error) as "github.com/archway-network/archway/x/oracle/types".ValidatorPerformances value in return statement) (typecheck)
lint: x/oracle/simulation/operations.go#L24
could not import github.com/archway-network/archway/x/oracle/keeper (-: # github.com/archway-network/archway/x/oracle/keeper
lint: x/oracle/keeper/update_exchange_rates.go#L17
cannot use err (variable of type error) as "github.com/archway-network/archway/x/oracle/types".ValidatorPerformances value in return statement) (typecheck)
lint: x/oracle/abci.go#L6
could not import github.com/archway-network/archway/x/oracle/keeper (-: # github.com/archway-network/archway/x/oracle/keeper
lint: x/oracle/keeper/update_exchange_rates.go#L17
cannot use err (variable of type error) as "github.com/archway-network/archway/x/oracle/types".ValidatorPerformances value in return statement) (typecheck)
lint: app/app.go#L159
could not import github.com/archway-network/archway/x/oracle/keeper (-: # github.com/archway-network/archway/x/oracle/keeper
lint: x/oracle/keeper/update_exchange_rates.go#L17
cannot use err (variable of type error) as "github.com/archway-network/archway/x/oracle/types".ValidatorPerformances value in return statement) (typecheck)
lint
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-go@v3, golangci/golangci-lint-action@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/