Skip to content

Merge pull request #169 from stader-labs/enable-doppleganger-protecti… #185

Merge pull request #169 from stader-labs/enable-doppleganger-protecti…

Merge pull request #169 from stader-labs/enable-doppleganger-protecti… #185

Triggered via push December 20, 2023 13:31
Status Success
Total duration 37s
Artifacts

go.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 errors
build: shared/types/config/parameter.go#L56
paramTypeCombine: func(oldNetwork Network, newNetwork Network) could be replaced with func(oldNetwork, newNetwork Network) (gocritic)
build: shared/types/config/types.go#L124
var-naming: don't use underscores in Go names; const MevSelectionMode_Unknow should be MevSelectionModeUnknow (revive)
build: shared/types/config/types.go#L125
var-naming: don't use underscores in Go names; const MevSelectionMode_Profile should be MevSelectionModeProfile (revive)
build: shared/types/config/types.go#L126
var-naming: don't use underscores in Go names; const MevSelectionMode_Relay should be MevSelectionModeRelay (revive)
build: shared/types/config/types.go#L131
var-naming: don't use underscores in Go names; const NimbusPruningMode_Archive should be NimbusPruningModeArchive (revive)
build: shared/types/config/types.go#L132
var-naming: don't use underscores in Go names; const NimbusPruningMode_Prune should be NimbusPruningModePrune (revive)
build: shared/types/config/parameter.go#L61
only one cuddle assignment allowed before if statement (wsl)
build: shared/types/config/parameter.go#L64
assignments should only be cuddled with other assignments (wsl)
build: shared/types/config/parameter.go#L65
only one cuddle assignment allowed before if statement (wsl)
build: shared/types/config/parameter.go#L119
if statements should only be cuddled with assignments (wsl)