2019-01-06 15:25:43 +00:00
|
|
|
load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
|
|
|
|
|
|
|
|
go_library(
|
|
|
|
name = "go_default_library",
|
|
|
|
srcs = ["validator_index_map.go"],
|
|
|
|
importpath = "github.com/prysmaticlabs/prysm/beacon-chain/core/state/stateutils",
|
2019-10-04 23:07:46 +00:00
|
|
|
visibility = [
|
|
|
|
"//beacon-chain:__subpackages__",
|
|
|
|
"//shared/testutil:__pkg__",
|
|
|
|
],
|
2019-01-13 14:04:14 +00:00
|
|
|
deps = [
|
|
|
|
"//proto/beacon/p2p/v1:go_default_library",
|
2019-01-31 02:53:58 +00:00
|
|
|
"//shared/bytesutil:go_default_library",
|
2019-01-13 14:04:14 +00:00
|
|
|
],
|
2019-01-06 15:25:43 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
go_test(
|
|
|
|
name = "go_default_test",
|
2019-06-30 16:00:22 +00:00
|
|
|
size = "small",
|
2019-01-06 15:25:43 +00:00
|
|
|
srcs = ["validator_index_map_test.go"],
|
|
|
|
embed = [":go_default_library"],
|
|
|
|
deps = [
|
|
|
|
"//proto/beacon/p2p/v1:go_default_library",
|
2019-07-22 14:03:57 +00:00
|
|
|
"//proto/eth/v1alpha1:go_default_library",
|
2019-01-31 02:53:58 +00:00
|
|
|
"//shared/bytesutil:go_default_library",
|
2019-01-06 15:25:43 +00:00
|
|
|
],
|
|
|
|
)
|