Skip to content

Sd utilize

Sd utilize #217

Triggered via pull request January 4, 2024 14:06
Status Success
Total duration 33s
Artifacts

go.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 2 warnings
build: 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)
build: 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)
build: stader-lib/utils/sd/sd.go#L19
func `almostEqual` is unused (unused)
build: stader-lib/utils/sd/sd.go#L40
shadow: declaration of "errParse" shadows declaration at line 32 (govet)
build: stader-lib/sdutility/sd-utility.go#L22
assignments should only be cuddled with other assignments (wsl)
build: stader-lib/sdutility/sd-utility.go#L23
only one cuddle assignment allowed before if statement (wsl)
build: stader-lib/sdutility/sd-utility.go#L26
assignments should only be cuddled with other assignments (wsl)
build: stader-lib/sdutility/sd-utility.go#L27
only one cuddle assignment allowed before if statement (wsl)
build: stader-lib/sdutility/sd-utility.go#L75
ineffectual assignment to err (ineffassign)
build: shared/services/stader/node.go#L121
declarations should never be cuddled (wsl)
build: stader/api/node/utility-sd.go#L42
var-naming: var operatorId should be operatorID (revive)
build: stader/api/node/claim-rewards.go#L110
var-naming: var operatorId should be operatorID (revive)