Skip to content

Sd utilize

Sd utilize #254

Triggered via pull request January 19, 2024 02:26
Status Success
Total duration 28s
Artifacts

go.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 3 warnings
build: shared/services/stader/node.go#L121
declarations should never be cuddled (wsl)
build: shared/services/stader/node.go#L137
declarations should never be cuddled (wsl)
build: shared/services/stader/node.go#L199
declarations should never be cuddled (wsl)
build: stader-cli/validator/deposit.go#L119
shadow: declaration of "err" shadows declaration at line 19 (govet)
build: stader-lib/utils/eth/units.go#L41
assignments should only be cuddled with other assignments (wsl)
build: stader-lib/utils/eth/units.go#L42
only one cuddle assignment allowed before if statement (wsl)
build: stader-lib/utils/eth/units.go#L49
if statements should only be cuddled with assignments (wsl)
build: stader-lib/utils/eth/units.go#L52
return statements should not be cuddled if block has more than two lines (wsl)
build: stader-lib/node/validator.go#L22
var-naming: func parameter referralId should be referralID (revive)
build: stader-lib/node/validator.go#L42
var-naming: func parameter referralId should be referralID (revive)
build: stader-lib/sdutility/sd-utility.go#L110
unused-parameter: parameter 'opts' seems to be unused, consider removing or renaming it as _ (revive)
build: stader/api/node/claim-rewards.go#L100
var-naming: var operatorId should be operatorID (revive)
build: stader/api/node/utility-sd.go#L42
var-naming: var operatorId should be operatorID (revive)