Sd utilize #126
Annotations
10 errors and 3 warnings
build:
shared/services/stader/node.go#L210
paramTypeCombine: func(amountWei, amountUtilityWei *big.Int, numValidators *big.Int, reloadKeys bool) (api.CanNodeDepositResponse, error) could be replaced with func(amountWei, amountUtilityWei, numValidators *big.Int, reloadKeys bool) (api.CanNodeDepositResponse, error) (gocritic)
|
build:
stader-cli/node/commands.go#L382
unlambda: replace `func(c *cli.Context) error {
|
build:
stader/api/validator/deposit.go#L31
unnecessary leading newline (whitespace)
|
build:
stader/api/node/commands.go#L180
unnecessary leading newline (whitespace)
|
build:
stader/api/node/commands.go#L194
unnecessary trailing newline (whitespace)
|
build:
stader/api/node/commands.go#L201
unnecessary leading newline (whitespace)
|
build:
stader/api/node/commands.go#L215
unnecessary trailing newline (whitespace)
|
build:
stader/api/node/commands.go#L236
unnecessary trailing newline (whitespace)
|
build:
stader-lib/stader/stader.go#L471
assignments should only be cuddled with other assignments (wsl)
|
build:
shared/services/services.go#L439
assignments should only be cuddled with other assignments (wsl)
|
build:
stader-lib/sd_utility/sd_utility.go#L1
var-naming: don't use an underscore in package name (revive)
|
build:
stader-cli/node/deposit-sd.go#L51
exported: func name will be used as node.NodeDepositSdWithAmount by other packages, and that stutters; consider calling this DepositSdWithAmount (revive)
|
build:
stader/api/node/sd-status.go#L47
var-naming: var operatorId should be operatorID (revive)
|