2021-06-30 19:22:09 +00:00
|
|
|
load("@prysm//tools/go:def.bzl", "go_library", "go_test")
|
2020-11-17 22:37:43 +00:00
|
|
|
|
|
|
|
go_library(
|
|
|
|
name = "go_default_library",
|
|
|
|
srcs = [
|
2021-11-09 16:49:28 +00:00
|
|
|
"doc.go",
|
2020-11-26 04:09:35 +00:00
|
|
|
"export.go",
|
2020-11-17 22:37:43 +00:00
|
|
|
"helpers.go",
|
|
|
|
"import.go",
|
2021-01-11 20:03:28 +00:00
|
|
|
"log.go",
|
2020-11-17 22:37:43 +00:00
|
|
|
],
|
2021-11-09 16:49:28 +00:00
|
|
|
importpath = "github.com/prysmaticlabs/prysm/validator/slashing-protection-history",
|
|
|
|
visibility = [
|
|
|
|
"//cmd:__subpackages__",
|
|
|
|
"//validator:__subpackages__",
|
|
|
|
],
|
2020-11-17 22:37:43 +00:00
|
|
|
deps = [
|
2021-09-21 19:59:25 +00:00
|
|
|
"//config/params:go_default_library",
|
2021-09-23 15:23:37 +00:00
|
|
|
"//encoding/bytesutil:go_default_library",
|
2021-09-14 20:59:51 +00:00
|
|
|
"//monitoring/progress:go_default_library",
|
2021-07-21 21:34:07 +00:00
|
|
|
"//proto/prysm/v1alpha1:go_default_library",
|
2021-09-21 18:11:16 +00:00
|
|
|
"//proto/prysm/v1alpha1/slashings:go_default_library",
|
2020-11-17 22:37:43 +00:00
|
|
|
"//validator/db:go_default_library",
|
|
|
|
"//validator/db/kv:go_default_library",
|
2021-11-09 16:49:28 +00:00
|
|
|
"//validator/slashing-protection-history/format:go_default_library",
|
2020-11-26 04:09:35 +00:00
|
|
|
"@com_github_k0kubun_go_ansi//:go_default_library",
|
2020-11-17 22:37:43 +00:00
|
|
|
"@com_github_pkg_errors//:go_default_library",
|
2021-02-09 10:05:22 +00:00
|
|
|
"@com_github_prysmaticlabs_eth2_types//:go_default_library",
|
2020-11-26 04:09:35 +00:00
|
|
|
"@com_github_schollz_progressbar_v3//:go_default_library",
|
2020-11-17 22:37:43 +00:00
|
|
|
"@com_github_sirupsen_logrus//:go_default_library",
|
|
|
|
],
|
|
|
|
)
|
|
|
|
|
|
|
|
go_test(
|
|
|
|
name = "go_default_test",
|
|
|
|
srcs = [
|
2020-11-26 04:09:35 +00:00
|
|
|
"export_test.go",
|
2020-11-17 22:37:43 +00:00
|
|
|
"helpers_test.go",
|
|
|
|
"import_test.go",
|
2020-11-26 04:09:35 +00:00
|
|
|
"round_trip_test.go",
|
2020-11-17 22:37:43 +00:00
|
|
|
],
|
|
|
|
embed = [":go_default_library"],
|
|
|
|
deps = [
|
2021-07-21 21:34:07 +00:00
|
|
|
"//proto/prysm/v1alpha1:go_default_library",
|
2021-09-23 18:53:46 +00:00
|
|
|
"//testing/assert:go_default_library",
|
|
|
|
"//testing/require:go_default_library",
|
2020-11-17 22:37:43 +00:00
|
|
|
"//validator/db/kv:go_default_library",
|
|
|
|
"//validator/db/testing:go_default_library",
|
2021-11-09 16:49:28 +00:00
|
|
|
"//validator/slashing-protection-history/format:go_default_library",
|
2021-01-22 23:12:22 +00:00
|
|
|
"//validator/testing:go_default_library",
|
2021-02-09 10:05:22 +00:00
|
|
|
"@com_github_prysmaticlabs_eth2_types//:go_default_library",
|
2020-11-17 22:37:43 +00:00
|
|
|
"@com_github_sirupsen_logrus//hooks/test:go_default_library",
|
|
|
|
],
|
|
|
|
)
|