2021-06-30 14:22:09 -05:00
|
|
|
load("@prysm//tools/go:def.bzl", "go_library", "go_test")
|
2020-12-04 15:15:12 -08:00
|
|
|
|
|
|
|
go_library(
|
|
|
|
name = "go_default_library",
|
2021-06-10 12:54:24 -04:00
|
|
|
srcs = [
|
|
|
|
"log.go",
|
|
|
|
"parse_graffiti.go",
|
|
|
|
],
|
2023-03-17 11:52:56 -07:00
|
|
|
importpath = "github.com/prysmaticlabs/prysm/v4/validator/graffiti",
|
2020-12-04 15:15:12 -08:00
|
|
|
visibility = ["//validator:__subpackages__"],
|
2021-02-22 16:14:50 -08:00
|
|
|
deps = [
|
2022-04-29 14:32:11 +00:00
|
|
|
"//consensus-types/primitives:go_default_library",
|
2021-09-15 15:55:11 -07:00
|
|
|
"//crypto/hash:go_default_library",
|
2021-06-10 12:54:24 -04:00
|
|
|
"@com_github_sirupsen_logrus//:go_default_library",
|
2021-02-22 16:14:50 -08:00
|
|
|
"@in_gopkg_yaml_v2//:go_default_library",
|
|
|
|
],
|
2020-12-04 15:15:12 -08:00
|
|
|
)
|
|
|
|
|
|
|
|
go_test(
|
|
|
|
name = "go_default_test",
|
|
|
|
srcs = ["parse_graffiti_test.go"],
|
|
|
|
embed = [":go_default_library"],
|
2021-02-22 16:14:50 -08:00
|
|
|
deps = [
|
2022-04-29 14:32:11 +00:00
|
|
|
"//consensus-types/primitives:go_default_library",
|
2021-09-15 15:55:11 -07:00
|
|
|
"//crypto/hash:go_default_library",
|
2021-09-23 13:53:46 -05:00
|
|
|
"//testing/assert:go_default_library",
|
|
|
|
"//testing/require:go_default_library",
|
2021-02-22 16:14:50 -08:00
|
|
|
],
|
2020-12-04 15:15:12 -08:00
|
|
|
)
|