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 = [
|
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
|
|
|
],
|
|
|
|
importpath = "github.com/prysmaticlabs/prysm/validator/slashing-protection/local/standard-protection-format",
|
|
|
|
visibility = ["//validator:__subpackages__"],
|
|
|
|
deps = [
|
2021-06-02 23:49:52 +00:00
|
|
|
"//proto/eth/v1alpha1:go_default_library",
|
2020-11-26 04:09:35 +00:00
|
|
|
"//shared/bytesutil:go_default_library",
|
2021-01-22 23:12:22 +00:00
|
|
|
"//shared/params:go_default_library",
|
2021-02-02 15:53:12 +00:00
|
|
|
"//shared/progressutil:go_default_library",
|
2021-01-22 23:12:22 +00:00
|
|
|
"//shared/slashutil:go_default_library",
|
2020-11-17 22:37:43 +00:00
|
|
|
"//validator/db:go_default_library",
|
|
|
|
"//validator/db/kv:go_default_library",
|
2021-01-22 23:12:22 +00:00
|
|
|
"//validator/slashing-protection/local/standard-protection-format/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-06-02 23:49:52 +00:00
|
|
|
"//proto/eth/v1alpha1:go_default_library",
|
2020-11-17 22:37:43 +00:00
|
|
|
"//shared/testutil/assert:go_default_library",
|
|
|
|
"//shared/testutil/require:go_default_library",
|
|
|
|
"//validator/db/kv:go_default_library",
|
|
|
|
"//validator/db/testing:go_default_library",
|
2021-01-22 23:12:22 +00:00
|
|
|
"//validator/slashing-protection/local/standard-protection-format/format:go_default_library",
|
|
|
|
"//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",
|
|
|
|
],
|
|
|
|
)
|