2021-06-30 19:22:09 +00:00
|
|
|
load("@prysm//tools/go:def.bzl", "go_library", "go_test")
|
2020-12-04 23:15:12 +00:00
|
|
|
|
|
|
|
go_library(
|
|
|
|
name = "go_default_library",
|
2021-06-10 16:54:24 +00:00
|
|
|
srcs = [
|
|
|
|
"log.go",
|
|
|
|
"parse_graffiti.go",
|
|
|
|
],
|
2020-12-04 23:15:12 +00:00
|
|
|
importpath = "github.com/prysmaticlabs/prysm/validator/graffiti",
|
|
|
|
visibility = ["//validator:__subpackages__"],
|
2021-02-23 00:14:50 +00:00
|
|
|
deps = [
|
2021-02-24 22:50:47 +00:00
|
|
|
"//shared/hashutil:go_default_library",
|
2021-02-23 00:14:50 +00:00
|
|
|
"@com_github_prysmaticlabs_eth2_types//:go_default_library",
|
2021-06-10 16:54:24 +00:00
|
|
|
"@com_github_sirupsen_logrus//:go_default_library",
|
2021-02-23 00:14:50 +00:00
|
|
|
"@in_gopkg_yaml_v2//:go_default_library",
|
|
|
|
],
|
2020-12-04 23:15:12 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
go_test(
|
|
|
|
name = "go_default_test",
|
|
|
|
srcs = ["parse_graffiti_test.go"],
|
|
|
|
embed = [":go_default_library"],
|
2021-02-23 00:14:50 +00:00
|
|
|
deps = [
|
2021-02-24 22:50:47 +00:00
|
|
|
"//shared/hashutil:go_default_library",
|
2021-06-10 16:54:24 +00:00
|
|
|
"//shared/testutil/assert:go_default_library",
|
2021-02-23 00:14:50 +00:00
|
|
|
"//shared/testutil/require:go_default_library",
|
|
|
|
"@com_github_prysmaticlabs_eth2_types//:go_default_library",
|
|
|
|
],
|
2020-12-04 23:15:12 +00:00
|
|
|
)
|