Skip to content

Sd utilize

Sd utilize #153

Triggered via pull request December 7, 2023 13:13
Status Success
Total duration 32s
Artifacts

go.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors
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-cli/validator/deposit.go#L9
could not import github.com/stader-labs/stader-node/stader-cli/node (-: # github.com/stader-labs/stader-node/stader-cli/node
build: stader-cli/node/deposit-sd.go#L65
undefined: nodeApproveSdWithAmount
build: stader-cli/node/repay-sd.go#L57
undefined: nodeApproveSd) (typecheck)
build: stader/api/node/repay-sd.go#L1
1-82 lines are duplicate of `stader/api/node/utility-sd.go:1-80` (dupl)
build: stader/api/node/utility-sd.go#L1
1-80 lines are duplicate of `stader/api/node/repay-sd.go:1-82` (dupl)
build: stader/api/validator/deposit.go#L90
cyclomatic complexity 32 of func `canNodeDeposit` is high (> 30) (gocyclo)
build: stader/api/node/commands.go#L266
unnecessary leading newline (whitespace)
build: stader/api/node/commands.go#L284
unnecessary trailing newline (whitespace)