prysm-pulse/slasher/db/BUILD.bazel

38 lines
1.1 KiB
Python
Raw Normal View History

load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
go_library(
name = "go_default_library",
srcs = [
"block_header.go",
"db.go",
2019-10-19 03:35:09 +00:00
"indexed_attestations.go",
"schema.go",
2019-09-26 16:29:10 +00:00
"setup_db.go",
2019-11-05 13:54:27 +00:00
"validator_id_pubkey.go",
],
importpath = "github.com/prysmaticlabs/prysm/slasher/db",
visibility = ["//slasher:__subpackages__"],
deps = [
"//proto/eth/v1alpha1:go_default_library",
"//shared/bytesutil:go_default_library",
"//shared/params:go_default_library",
"@com_github_boltdb_bolt//:go_default_library",
"@com_github_gogo_protobuf//proto:go_default_library",
"@com_github_pkg_errors//:go_default_library",
2019-10-19 03:35:09 +00:00
"@com_github_prysmaticlabs_go_ssz//:go_default_library",
"@com_github_sirupsen_logrus//:go_default_library",
],
)
go_test(
name = "go_default_test",
srcs = [
"block_header_test.go",
2019-10-19 03:35:09 +00:00
"indexed_attestations_test.go",
2019-09-26 16:29:10 +00:00
"setup_db_test.go",
2019-11-05 13:54:27 +00:00
"validator_id_pubkey_test.go",
],
embed = [":go_default_library"],
2019-09-26 16:29:10 +00:00
deps = ["//proto/eth/v1alpha1:go_default_library"],
)