2020-01-22 20:19:52 +00:00
|
|
|
load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
|
2020-01-22 16:50:16 +00:00
|
|
|
|
|
|
|
go_library(
|
|
|
|
name = "go_default_library",
|
2020-01-22 18:12:41 +00:00
|
|
|
srcs = [
|
|
|
|
"doc.go",
|
2020-01-22 20:19:52 +00:00
|
|
|
"errors.go",
|
|
|
|
"helpers.go",
|
2020-01-22 18:12:41 +00:00
|
|
|
"types.go",
|
|
|
|
],
|
2020-01-22 16:50:16 +00:00
|
|
|
importpath = "github.com/prysmaticlabs/prysm/beacon-chain/forkchoice/protoarray",
|
|
|
|
visibility = ["//beacon-chain:__subpackages__"],
|
2020-01-22 20:19:52 +00:00
|
|
|
deps = [
|
|
|
|
"//shared/params:go_default_library",
|
|
|
|
"@io_opencensus_go//trace:go_default_library",
|
|
|
|
],
|
|
|
|
)
|
|
|
|
|
|
|
|
go_test(
|
|
|
|
name = "go_default_test",
|
|
|
|
srcs = ["helpers_test.go"],
|
|
|
|
embed = [":go_default_library"],
|
|
|
|
deps = [
|
|
|
|
"//shared/hashutil:go_default_library",
|
|
|
|
"//shared/params:go_default_library",
|
|
|
|
],
|
2020-01-22 16:50:16 +00:00
|
|
|
)
|