2020-05-05 07:22:26 +00:00
|
|
|
load("@prysm//tools/go:def.bzl", "go_library")
|
|
|
|
load("@io_bazel_rules_go//go:def.bzl", "go_test")
|
2019-01-06 15:25:43 +00:00
|
|
|
|
|
|
|
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 = [
|
2021-06-02 23:49:52 +00:00
|
|
|
"//proto/eth/v1alpha1:go_default_library",
|
2019-01-31 02:53:58 +00:00
|
|
|
"//shared/bytesutil:go_default_library",
|
2021-02-23 00:14:50 +00:00
|
|
|
"@com_github_prysmaticlabs_eth2_types//: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"],
|
|
|
|
deps = [
|
2021-03-12 00:03:19 +00:00
|
|
|
":go_default_library",
|
2021-03-17 19:49:49 +00:00
|
|
|
"//beacon-chain/state/stateV0:go_default_library",
|
2019-01-06 15:25:43 +00:00
|
|
|
"//proto/beacon/p2p/v1:go_default_library",
|
2021-06-02 23:49:52 +00:00
|
|
|
"//proto/eth/v1alpha1:go_default_library",
|
2019-01-31 02:53:58 +00:00
|
|
|
"//shared/bytesutil:go_default_library",
|
2020-08-10 10:34:33 +00:00
|
|
|
"//shared/testutil/assert:go_default_library",
|
|
|
|
"//shared/testutil/require:go_default_library",
|
2021-02-23 00:14:50 +00:00
|
|
|
"@com_github_prysmaticlabs_eth2_types//:go_default_library",
|
2019-01-06 15:25:43 +00:00
|
|
|
],
|
|
|
|
)
|