mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2025-01-03 08:37:37 +00:00
ce2344301c
* forkchoice.Getter wrapper with locking wrappers * comments * lint * only expose fast fc getters * potuz feedback re rlock * update mocks for new fc method * appease deepsource * add missing exported func comment * yeet errors to make the linter happy * even more devious _discard * rm TargetRoot * derp * handle nil error in _discard * deep source --------- Co-authored-by: Kasey Kirkham <kasey@users.noreply.github.com> Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
38 lines
1.1 KiB
Python
38 lines
1.1 KiB
Python
load("@prysm//tools/go:def.bzl", "go_library", "go_test")
|
|
|
|
go_library(
|
|
name = "go_default_library",
|
|
srcs = [
|
|
"doc.go",
|
|
"error.go",
|
|
"interfaces.go",
|
|
"ro.go",
|
|
],
|
|
importpath = "github.com/prysmaticlabs/prysm/v4/beacon-chain/forkchoice",
|
|
visibility = [
|
|
"//beacon-chain:__subpackages__",
|
|
"//cmd:__subpackages__",
|
|
"//testing/spectest:__subpackages__",
|
|
],
|
|
deps = [
|
|
"//beacon-chain/forkchoice/types:go_default_library",
|
|
"//beacon-chain/state:go_default_library",
|
|
"//config/fieldparams:go_default_library",
|
|
"//consensus-types/forkchoice:go_default_library",
|
|
"//consensus-types/primitives:go_default_library",
|
|
"@com_github_pkg_errors//:go_default_library",
|
|
],
|
|
)
|
|
|
|
go_test(
|
|
name = "go_default_test",
|
|
srcs = ["ro_test.go"],
|
|
embed = [":go_default_library"],
|
|
deps = [
|
|
"//beacon-chain/forkchoice/types:go_default_library",
|
|
"//config/fieldparams:go_default_library",
|
|
"//consensus-types/primitives:go_default_library",
|
|
"//testing/require:go_default_library",
|
|
],
|
|
)
|