2020-07-01 21:30:01 +00:00
|
|
|
load("@io_bazel_rules_go//go:def.bzl", "go_test")
|
|
|
|
load("@prysm//tools/go:def.bzl", "go_library")
|
|
|
|
|
|
|
|
go_library(
|
|
|
|
name = "go_default_library",
|
2021-03-16 15:00:05 +00:00
|
|
|
srcs = [
|
|
|
|
"constants.go",
|
|
|
|
"types.go",
|
|
|
|
],
|
2020-10-15 22:31:52 +00:00
|
|
|
importpath = "github.com/prysmaticlabs/prysm/validator/keymanager",
|
2020-07-01 21:30:01 +00:00
|
|
|
visibility = [
|
2021-03-30 20:38:40 +00:00
|
|
|
"//tools:__subpackages__",
|
2020-07-01 21:30:01 +00:00
|
|
|
"//validator:__pkg__",
|
|
|
|
"//validator:__subpackages__",
|
|
|
|
],
|
2020-07-03 23:00:02 +00:00
|
|
|
deps = [
|
|
|
|
"//proto/validator/accounts/v2:go_default_library",
|
|
|
|
"//shared/bls:go_default_library",
|
2021-01-22 20:21:34 +00:00
|
|
|
"//shared/event:go_default_library",
|
2020-07-03 23:00:02 +00:00
|
|
|
],
|
2020-07-01 21:30:01 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
go_test(
|
|
|
|
name = "go_default_test",
|
|
|
|
srcs = ["types_test.go"],
|
2020-07-21 02:05:23 +00:00
|
|
|
deps = [
|
2021-03-12 00:03:19 +00:00
|
|
|
":go_default_library",
|
2020-10-15 22:31:52 +00:00
|
|
|
"//validator/keymanager/derived:go_default_library",
|
2020-10-16 18:45:14 +00:00
|
|
|
"//validator/keymanager/imported:go_default_library",
|
2020-10-15 22:31:52 +00:00
|
|
|
"//validator/keymanager/remote:go_default_library",
|
2020-07-21 02:05:23 +00:00
|
|
|
],
|
2020-07-01 21:30:01 +00:00
|
|
|
)
|