Skip to content

fix: reward calculation for different types of token #530

fix: reward calculation for different types of token

fix: reward calculation for different types of token #530

Triggered via pull request February 28, 2024 04:28
Status Failure
Total duration 3m 16s
Artifacts

lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

6 errors and 2 warnings
lint: x/alliance/keeper/asset.go#L31
Error return value of `k.SetAsset` is not checked (errcheck)
lint: x/alliance/keeper/tests/reward_test.go#L1164
Error return value of `app.AllianceKeeper.SetValidator` is not checked (errcheck)
lint: x/alliance/keeper/tests/reward_test.go#L1288
Error return value of `app.AllianceKeeper.SetValidator` is not checked (errcheck)
lint: x/alliance/keeper/tests/reward_test.go#L1297
Error return value of `app.AllianceKeeper.SetValidator` is not checked (errcheck)
lint: x/alliance/keeper/tests/reward_test.go#L1223
ineffectual assignment to err (ineffassign)
lint
issues found
lint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-go@v4, actions/checkout@v3, golangci/golangci-lint-action@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
lint
Restore cache failed: Dependencies file is not found in /home/runner/work/alliance/alliance. Supported file pattern: go.sum