prysm-pulse/validator/graffiti/BUILD.bazel
terence tsao b4437e6cec
Load graffiti from file (#8041)
* Pass graffati file and   use it

* Visibility

* Parse test

* More proposal tests

* Gazelle

* Add sequential functionality

* fix length check

* Update priorities. Specified -> random -> default

* Log warn instead return err

* Comment

* E2e test

* Comment

Co-authored-by: Preston Van Loon <preston@prysmaticlabs.com>
2020-12-04 23:15:12 +00:00

18 lines
533 B
Python

load("@io_bazel_rules_go//go:def.bzl", "go_test")
load("@prysm//tools/go:def.bzl", "go_library")
go_library(
name = "go_default_library",
srcs = ["parse_graffiti.go"],
importpath = "github.com/prysmaticlabs/prysm/validator/graffiti",
visibility = ["//validator:__subpackages__"],
deps = ["@in_gopkg_yaml_v2//:go_default_library"],
)
go_test(
name = "go_default_test",
srcs = ["parse_graffiti_test.go"],
embed = [":go_default_library"],
deps = ["//shared/testutil/require:go_default_library"],
)