2020-01-08 18:16:17 +00:00
|
|
|
load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
|
|
|
|
|
|
|
|
go_library(
|
|
|
|
name = "go_default_library",
|
|
|
|
srcs = [
|
2020-01-19 22:05:48 +00:00
|
|
|
"attestation_history.go",
|
2020-01-08 18:16:17 +00:00
|
|
|
"db.go",
|
|
|
|
"proposal_history.go",
|
|
|
|
"schema.go",
|
|
|
|
"setup_db.go",
|
|
|
|
],
|
|
|
|
importpath = "github.com/prysmaticlabs/prysm/validator/db",
|
|
|
|
visibility = ["//validator:__subpackages__"],
|
|
|
|
deps = [
|
|
|
|
"//proto/slashing:go_default_library",
|
|
|
|
"//shared/params:go_default_library",
|
|
|
|
"//validator/db/iface:go_default_library",
|
|
|
|
"@com_github_gogo_protobuf//proto:go_default_library",
|
|
|
|
"@com_github_pkg_errors//:go_default_library",
|
|
|
|
"@com_github_prysmaticlabs_go_bitfield//:go_default_library",
|
|
|
|
"@com_github_sirupsen_logrus//:go_default_library",
|
2020-03-24 20:00:54 +00:00
|
|
|
"@io_etcd_go_bbolt//:go_default_library",
|
2020-01-08 18:16:17 +00:00
|
|
|
"@io_opencensus_go//trace:go_default_library",
|
|
|
|
],
|
|
|
|
)
|
|
|
|
|
|
|
|
go_test(
|
|
|
|
name = "go_default_test",
|
|
|
|
srcs = [
|
2020-01-19 22:05:48 +00:00
|
|
|
"attestation_history_test.go",
|
2020-01-08 18:16:17 +00:00
|
|
|
"proposal_history_test.go",
|
|
|
|
"setup_db_test.go",
|
|
|
|
],
|
|
|
|
embed = [":go_default_library"],
|
|
|
|
deps = [
|
|
|
|
"//proto/slashing:go_default_library",
|
|
|
|
"//shared/params:go_default_library",
|
|
|
|
"@com_github_prysmaticlabs_go_bitfield//:go_default_library",
|
|
|
|
],
|
|
|
|
)
|