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 = [
|
2022-04-29 14:32:11 +00:00
|
|
|
"//consensus-types/primitives:go_default_library",
|
2021-09-15 22:55:11 +00:00
|
|
|
"//crypto/hash: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 = [
|
2022-04-29 14:32:11 +00:00
|
|
|
"//consensus-types/primitives:go_default_library",
|
2021-09-15 22:55:11 +00:00
|
|
|
"//crypto/hash:go_default_library",
|
2021-09-23 18:53:46 +00:00
|
|
|
"//testing/assert:go_default_library",
|
|
|
|
"//testing/require:go_default_library",
|
2021-02-23 00:14:50 +00:00
|
|
|
],
|
2020-12-04 23:15:12 +00:00
|
|
|
)
|