Sd utilize #302
Annotations
10 errors
Golangci-lint:
stader-lib/node/validator.go#L22
var-naming: func parameter referralId should be referralID (revive)
|
Golangci-lint:
stader-lib/node/validator.go#L42
var-naming: func parameter referralId should be referralID (revive)
|
Golangci-lint:
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-lint:
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-lint:
stader/guardian/collector/network-collector.go#L65
commentFormatting: put a space between `//` and comment text (gocritic)
|
Golangci-lint:
stader/guardian/collector/network-collector.go#L154
commentFormatting: put a space between `//` and comment text (gocritic)
|
Golangci-lint:
stader-cli/node/claim-sp-rewards.go#L184
elseif: can replace 'else {if cond {}}' with 'else if cond {}' (gocritic)
|
Golangci-lint:
stader-cli/node/commands.go#L370
unlambda: replace `func(c *cli.Context) error {
|
Golangci-lint:
stader/api/validator/deposit.go#L113
cyclomatic complexity 32 of func `canNodeDeposit` is high (> 30) (gocyclo)
|
Golangci-lint:
stader/guardian/collector/operator-collector.go#L146
`positon` is a misspelling of `position` (misspell)
|
The logs for this run have expired and are no longer available.
Loading