2019-02-01 16:52:35 +00:00
|
|
|
load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
|
|
|
|
|
|
|
|
go_library(
|
|
|
|
name = "go_default_library",
|
2019-02-01 21:22:52 +00:00
|
|
|
srcs = [
|
2019-02-04 21:27:28 +00:00
|
|
|
"committee.go",
|
2019-02-01 21:22:52 +00:00
|
|
|
"randao.go",
|
|
|
|
"slot_epoch.go",
|
2019-02-04 20:34:33 +00:00
|
|
|
"validators.go",
|
2019-02-01 21:22:52 +00:00
|
|
|
],
|
2019-02-01 16:52:35 +00:00
|
|
|
importpath = "github.com/prysmaticlabs/prysm/beacon-chain/core/helpers",
|
|
|
|
visibility = ["//beacon-chain:__subpackages__"],
|
|
|
|
deps = [
|
2019-02-05 18:52:14 +00:00
|
|
|
"//beacon-chain/utils:go_default_library",
|
2019-02-01 16:52:35 +00:00
|
|
|
"//proto/beacon/p2p/v1:go_default_library",
|
2019-02-05 18:52:14 +00:00
|
|
|
"//shared/bytesutil:go_default_library",
|
2019-02-01 21:22:52 +00:00
|
|
|
"//shared/hashutil:go_default_library",
|
2019-02-05 18:52:14 +00:00
|
|
|
"//shared/mathutil:go_default_library",
|
2019-02-01 16:52:35 +00:00
|
|
|
"//shared/params:go_default_library",
|
|
|
|
],
|
|
|
|
)
|
|
|
|
|
|
|
|
go_test(
|
|
|
|
name = "go_default_test",
|
2019-02-01 21:22:52 +00:00
|
|
|
srcs = [
|
2019-02-04 21:27:28 +00:00
|
|
|
"committee_test.go",
|
2019-02-01 21:22:52 +00:00
|
|
|
"randao_test.go",
|
|
|
|
"slot_epoch_test.go",
|
2019-02-04 20:34:33 +00:00
|
|
|
"validators_test.go",
|
2019-02-01 21:22:52 +00:00
|
|
|
],
|
2019-02-01 16:52:35 +00:00
|
|
|
embed = [":go_default_library"],
|
2019-02-05 18:52:14 +00:00
|
|
|
deps = [
|
|
|
|
"//proto/beacon/p2p/v1:go_default_library",
|
|
|
|
"//shared/params:go_default_library",
|
|
|
|
],
|
2019-02-01 16:52:35 +00:00
|
|
|
)
|