Sd utilize #200
Annotations
10 errors and 10 warnings
Golangci:
stader-lib/socializing-pool/rewards.go#L26
paramTypeCombine: func(sp *stader.SocializingPoolContractManager, index []*big.Int, amountSd []*big.Int, amountEth []*big.Int, merkleProof [][][32]byte, opts *bind.TransactOpts) (stader.GasInfo, error) could be replaced with func(sp *stader.SocializingPoolContractManager, index, amountSd, amountEth []*big.Int, merkleProof [][][32]byte, opts *bind.TransactOpts) (stader.GasInfo, error) (gocritic)
|
Golangci:
stader-lib/socializing-pool/rewards.go#L30
paramTypeCombine: func(sp *stader.SocializingPoolContractManager, index []*big.Int, amountSd []*big.Int, amountEth []*big.Int, merkleProof [][][32]byte, opts *bind.TransactOpts) (*types.Transaction, error) could be replaced with func(sp *stader.SocializingPoolContractManager, index, amountSd, amountEth []*big.Int, merkleProof [][][32]byte, opts *bind.TransactOpts) (*types.Transaction, error) (gocritic)
|
Golangci:
stader-cli/node/claim-sp-rewards.go#L184
elseif: can replace 'else {if cond {}}' with 'else if cond {}' (gocritic)
|
Golangci:
stader/api/validator/deposit.go#L107
cyclomatic complexity 32 of func `canNodeDeposit` is high (> 30) (gocyclo)
|
Golangci:
stader-lib/utils/sd/sd.go#L19
func `almostEqual` is unused (unused)
|
Golangci:
stader-cli/node/utilize-sd.go#L147
unnecessary leading newline (whitespace)
|
Golangci:
stader-lib/sdutility/sd-utility.go#L22
assignments should only be cuddled with other assignments (wsl)
|
Golangci:
stader-lib/sdutility/sd-utility.go#L23
only one cuddle assignment allowed before if statement (wsl)
|
Golangci:
stader-lib/sdutility/sd-utility.go#L26
assignments should only be cuddled with other assignments (wsl)
|
Golangci:
stader-lib/sdutility/sd-utility.go#L27
only one cuddle assignment allowed before if statement (wsl)
|
Golangci:
stader-lib/node/validator.go#L22
var-naming: func parameter referralId should be referralID (revive)
|
Golangci:
stader-lib/node/validator.go#L42
var-naming: func parameter referralId should be referralID (revive)
|
Golangci:
shared/services/stader/node.go#L210
var-naming: method parameter referralId should be referralID (revive)
|
Golangci:
shared/services/stader/node.go#L271
var-naming: method parameter referralId should be referralID (revive)
|
Golangci:
stader/api/validator/commands.go#L62
var-naming: var referralId should be referralID (revive)
|
Golangci:
stader/api/validator/commands.go#L101
var-naming: var referralId should be referralID (revive)
|
Golangci:
stader/api/validator/deposit.go#L267
var-naming: var encodedReferralId should be encodedReferralID (revive)
|
Golangci:
stader/api/validator/deposit.go#L293
var-naming: func parameter referralId should be referralID (revive)
|
Golangci:
stader/api/validator/deposit.go#L433
var-naming: var encodedReferralId should be encodedReferralID (revive)
|
Golangci:
stader/api/node/utility-sd.go#L42
var-naming: var operatorId should be operatorID (revive)
|
The logs for this run have expired and are no longer available.
Loading