Skip to content

Sd utilize

Sd utilize #171

Triggered via pull request December 15, 2023 12:15
Status Success
Total duration 28s
Artifacts

go.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors
build: shared/types/api/node.go#L91
fieldalignment: struct with 40 pointer bytes could be 32 (govet)
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/sdutility/sd-utility.go#L21
assignments should only be cuddled with other assignments (wsl)
build: stader-lib/sdutility/sd-utility.go#L22
only one cuddle assignment allowed before if statement (wsl)
build: stader-lib/sdutility/sd-utility.go#L25
assignments should only be cuddled with other assignments (wsl)
build: stader-lib/sdutility/sd-utility.go#L26
only one cuddle assignment allowed before if statement (wsl)
build: stader-lib/sdutility/sd-utility.go#L74
ineffectual assignment to err (ineffassign)
build: shared/services/stader/node.go#L121
declarations should never be cuddled (wsl)
build: shared/services/stader/node.go#L137
declarations should never be cuddled (wsl)