2019-09-18 17:05:24 +00:00
|
|
|
load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
|
2018-10-05 17:14:50 +00:00
|
|
|
|
|
|
|
go_library(
|
|
|
|
name = "go_default_library",
|
2019-10-03 09:29:49 +00:00
|
|
|
srcs = [
|
|
|
|
"db.go",
|
|
|
|
"http_backup_handler.go",
|
|
|
|
],
|
2018-10-05 17:14:50 +00:00
|
|
|
importpath = "github.com/prysmaticlabs/prysm/beacon-chain/db",
|
|
|
|
visibility = ["//beacon-chain:__subpackages__"],
|
|
|
|
deps = [
|
2019-08-11 00:50:10 +00:00
|
|
|
"//beacon-chain/db/filters:go_default_library",
|
2019-08-14 18:48:28 +00:00
|
|
|
"//beacon-chain/db/kv:go_default_library",
|
2018-10-05 17:14:50 +00:00
|
|
|
"//proto/beacon/p2p/v1:go_default_library",
|
2019-07-22 14:03:57 +00:00
|
|
|
"//proto/eth/v1alpha1:go_default_library",
|
2019-02-26 18:40:17 +00:00
|
|
|
"@com_github_ethereum_go_ethereum//common:go_default_library",
|
2019-10-03 09:29:49 +00:00
|
|
|
"@com_github_sirupsen_logrus//:go_default_library",
|
2018-10-05 17:14:50 +00:00
|
|
|
],
|
|
|
|
)
|
2019-09-18 17:05:24 +00:00
|
|
|
|
|
|
|
go_test(
|
|
|
|
name = "go_default_test",
|
|
|
|
srcs = ["db_test.go"],
|
|
|
|
embed = [":go_default_library"],
|
|
|
|
deps = ["//beacon-chain/db/kv:go_default_library"],
|
|
|
|
)
|