2021-06-30 19:22:09 +00:00
|
|
|
load("@prysm//tools/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 = [
|
2019-12-18 02:07:49 +00:00
|
|
|
"alias.go",
|
2021-08-26 23:59:00 +00:00
|
|
|
"db.go",
|
2021-01-11 20:03:28 +00:00
|
|
|
"log.go",
|
2020-12-07 20:36:43 +00:00
|
|
|
"restore.go",
|
2021-08-26 23:59:00 +00:00
|
|
|
],
|
2018-10-05 17:14:50 +00:00
|
|
|
importpath = "github.com/prysmaticlabs/prysm/beacon-chain/db",
|
2019-10-23 05:43:41 +00:00
|
|
|
visibility = [
|
|
|
|
"//beacon-chain:__subpackages__",
|
2021-03-02 19:36:03 +00:00
|
|
|
"//cmd/beacon-chain:__subpackages__",
|
2021-09-16 17:32:51 +00:00
|
|
|
"//testing/fuzz:__pkg__",
|
2021-09-29 02:27:21 +00:00
|
|
|
"//testing/slasher/simulator:__pkg__",
|
2019-10-23 05:43:41 +00:00
|
|
|
"//tools:__subpackages__",
|
|
|
|
],
|
2018-10-05 17:14:50 +00:00
|
|
|
deps = [
|
2019-12-06 02:05:58 +00:00
|
|
|
"//beacon-chain/db/iface:go_default_library",
|
2019-08-14 18:48:28 +00:00
|
|
|
"//beacon-chain/db/kv:go_default_library",
|
2021-09-21 18:11:16 +00:00
|
|
|
"//cmd:go_default_library",
|
2021-09-17 21:55:24 +00:00
|
|
|
"//io/file:go_default_library",
|
|
|
|
"//io/prompt:go_default_library",
|
2020-12-07 20:36:43 +00:00
|
|
|
"@com_github_pkg_errors//:go_default_library",
|
2019-10-03 09:29:49 +00:00
|
|
|
"@com_github_sirupsen_logrus//:go_default_library",
|
2020-12-07 20:36:43 +00:00
|
|
|
"@com_github_urfave_cli_v2//:go_default_library",
|
2021-08-26 23:59:00 +00:00
|
|
|
],
|
2018-10-05 17:14:50 +00:00
|
|
|
)
|
2019-09-18 17:05:24 +00:00
|
|
|
|
|
|
|
go_test(
|
|
|
|
name = "go_default_test",
|
2021-03-04 21:01:32 +00:00
|
|
|
srcs = [
|
|
|
|
"db_test.go",
|
|
|
|
"restore_test.go",
|
|
|
|
],
|
2019-09-18 17:05:24 +00:00
|
|
|
embed = [":go_default_library"],
|
2021-03-04 21:01:32 +00:00
|
|
|
deps = [
|
|
|
|
"//beacon-chain/db/kv:go_default_library",
|
2021-09-21 18:11:16 +00:00
|
|
|
"//cmd:go_default_library",
|
2021-07-21 21:34:07 +00:00
|
|
|
"//proto/prysm/v1alpha1/wrapper:go_default_library",
|
2021-09-23 18:53:46 +00:00
|
|
|
"//testing/assert:go_default_library",
|
|
|
|
"//testing/require:go_default_library",
|
|
|
|
"//testing/util:go_default_library",
|
2021-03-04 21:01:32 +00:00
|
|
|
"@com_github_prysmaticlabs_eth2_types//:go_default_library",
|
|
|
|
"@com_github_sirupsen_logrus//hooks/test:go_default_library",
|
|
|
|
"@com_github_urfave_cli_v2//:go_default_library",
|
|
|
|
],
|
2019-09-18 17:05:24 +00:00
|
|
|
)
|