Sd utilize #161
Annotations
10 errors and 1 warning
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)
|
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)
|
stader-cli/node/claim-sp-rewards.go#L184
elseif: can replace 'else {if cond {}}' with 'else if cond {}' (gocritic)
|
stader/api/validator/deposit.go#L100
cyclomatic complexity 32 of func `canNodeDeposit` is high (> 30) (gocyclo)
|
stader-cli/node/utilize-sd.go#L167
unnecessary leading newline (whitespace)
|
shared/services/stader/node.go#L121
declarations should never be cuddled (wsl)
|
shared/services/stader/node.go#L137
declarations should never be cuddled (wsl)
|
shared/services/stader/node.go#L199
declarations should never be cuddled (wsl)
|
stader/api/node/deposit-sd.go#L94
assignments should only be cuddled with other assignments (wsl)
|
stader/api/node/deposit-sd.go#L160
assignments should only be cuddled with other assignments (wsl)
|
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