feat(oracle): support update for eth-native-restaking balance change #827
lint.yml
on: pull_request
Run golangci-lint
1m 3s
Run markdown-lint
9s
Annotations
5 errors and 3 warnings
Run golangci-lint:
x/oracle/keeper/prices.go#L210
Error return value of `k.UpdateNativeTokenByBalanceChange` is not checked (errcheck)
|
Run golangci-lint:
x/delegation/keeper/abci.go#L49
File is not `gofumpt`-ed (gofumpt)
|
Run golangci-lint:
x/assets/keeper/bank.go#L9
ST1019: package "github.com/ExocoreNetwork/exocore/x/assets/types" is being imported more than once (stylecheck)
|
Run golangci-lint:
x/assets/keeper/bank.go#L10
ST1019(related information): other import of "github.com/ExocoreNetwork/exocore/x/assets/types" (stylecheck)
|
Run golangci-lint
issues found
|
Run markdown-lint
The following actions use a deprecated Node.js version and will be forced to run on node20: technote-space/[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 golangci-lint
The following actions use a deprecated Node.js version and will be forced to run on node20: technote-space/[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 golangci-lint:
x/oracle/keeper/native_token.go#L128
indent-error-flow: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (revive)
|