Skip to content

feat: simplify special asset pairs calculations #11068

feat: simplify special asset pairs calculations

feat: simplify special asset pairs calculations #11068

Triggered via pull request November 6, 2023 12:34
Status Failure
Total duration 4m 27s
Artifacts

lint.yml

on: pull_request
Run golangci-lint
4m 13s
Run golangci-lint
markdown-lint
5s
markdown-lint
buf-lint
7s
buf-lint
Fit to window
Zoom out
Zoom in

Annotations

10 errors
Run golangci-lint: x/leverage/types/position.go#L38
unused-parameter: parameter 'tokens' seems to be unused, consider removing or renaming it as _ (revive)
Run golangci-lint: x/leverage/types/position.go#L39
unused-parameter: parameter 'pairs' seems to be unused, consider removing or renaming it as _ (revive)
Run golangci-lint: x/leverage/types/position.go#L40
unused-parameter: parameter 'collateralValue' seems to be unused, consider removing or renaming it as _ (revive)
Run golangci-lint: x/leverage/types/position.go#L42
unused-parameter: parameter 'minimumBorrowFactor' seems to be unused, consider removing or renaming it as _ (revive)
Run golangci-lint: x/leverage/types/position.go#L55
unused-parameter: parameter 'denom' seems to be unused, consider removing or renaming it as _ (revive)
Run golangci-lint: x/leverage/types/position.go#L65
unused-parameter: parameter 'denom' seems to be unused, consider removing or renaming it as _ (revive)
Run golangci-lint: x/leverage/types/position.go#L74
unused-parameter: parameter 'denom' seems to be unused, consider removing or renaming it as _ (revive)
Run golangci-lint: x/leverage/types/position.go#L30
field `tokens` is unused (unused)
Run golangci-lint: x/leverage/types/position.go#L32
field `minimumBorrowFactor` is unused (unused)
Run golangci-lint
issues found