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-19 18:05:34 +00:00
|
|
|
"deposits.go",
|
2019-02-01 21:22:52 +00:00
|
|
|
"randao.go",
|
2019-02-13 17:33:45 +00:00
|
|
|
"rewards_penalties.go",
|
2019-02-01 21:22:52 +00:00
|
|
|
"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-04-11 19:34:23 +00:00
|
|
|
"//beacon-chain/cache:go_default_library",
|
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-06 14:00:50 +00:00
|
|
|
"//shared/bitutil: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",
|
2019-02-19 18:05:34 +00:00
|
|
|
"//shared/ssz:go_default_library",
|
2019-04-10 21:50:01 +00:00
|
|
|
"@org_golang_google_grpc//codes:go_default_library",
|
|
|
|
"@org_golang_google_grpc//status:go_default_library",
|
2019-02-01 16:52:35 +00:00
|
|
|
],
|
|
|
|
)
|
|
|
|
|
|
|
|
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-19 18:05:34 +00:00
|
|
|
"deposits_test.go",
|
2019-02-01 21:22:52 +00:00
|
|
|
"randao_test.go",
|
2019-02-13 17:33:45 +00:00
|
|
|
"rewards_penalties_test.go",
|
2019-02-01 21:22:52 +00:00
|
|
|
"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 = [
|
2019-04-11 19:34:23 +00:00
|
|
|
"//beacon-chain/cache:go_default_library",
|
2019-02-05 18:52:14 +00:00
|
|
|
"//proto/beacon/p2p/v1:go_default_library",
|
2019-04-24 05:39:02 +00:00
|
|
|
"//shared/featureconfig:go_default_library",
|
2019-02-05 18:52:14 +00:00
|
|
|
"//shared/params:go_default_library",
|
2019-02-19 18:05:34 +00:00
|
|
|
"@com_github_gogo_protobuf//proto:go_default_library",
|
2019-04-10 21:50:01 +00:00
|
|
|
"@org_golang_google_grpc//codes:go_default_library",
|
|
|
|
"@org_golang_google_grpc//status:go_default_library",
|
2019-02-05 18:52:14 +00:00
|
|
|
],
|
2019-02-01 16:52:35 +00:00
|
|
|
)
|