2021-06-30 14:22:09 -05:00
|
|
|
load("@prysm//tools/go:def.bzl", "go_library", "go_test")
|
2018-10-06 02:14:50 +09:00
|
|
|
|
|
|
|
go_library(
|
|
|
|
name = "go_default_library",
|
2019-10-03 02:29:49 -07:00
|
|
|
srcs = [
|
2019-12-17 18:07:49 -08:00
|
|
|
"alias.go",
|
2021-08-26 18:59:00 -05:00
|
|
|
"db.go",
|
2021-12-09 16:23:00 -06:00
|
|
|
"errors.go",
|
2021-01-11 21:03:28 +01:00
|
|
|
"log.go",
|
2020-12-07 21:36:43 +01:00
|
|
|
"restore.go",
|
2021-08-26 18:59:00 -05:00
|
|
|
],
|
2024-02-14 21:46:47 -08:00
|
|
|
importpath = "github.com/prysmaticlabs/prysm/v5/beacon-chain/db",
|
2019-10-22 22:43:41 -07:00
|
|
|
visibility = [
|
|
|
|
"//beacon-chain:__subpackages__",
|
2021-03-02 13:36:03 -06:00
|
|
|
"//cmd/beacon-chain:__subpackages__",
|
2021-09-28 21:27:21 -05:00
|
|
|
"//testing/slasher/simulator:__pkg__",
|
2019-10-22 22:43:41 -07:00
|
|
|
"//tools:__subpackages__",
|
|
|
|
],
|
2018-10-06 02:14:50 +09:00
|
|
|
deps = [
|
2019-12-05 18:05:58 -08:00
|
|
|
"//beacon-chain/db/iface:go_default_library",
|
2019-08-14 11:48:28 -07:00
|
|
|
"//beacon-chain/db/kv:go_default_library",
|
2021-09-21 13:11:16 -05:00
|
|
|
"//cmd:go_default_library",
|
2021-09-17 16:55:24 -05:00
|
|
|
"//io/file:go_default_library",
|
|
|
|
"//io/prompt:go_default_library",
|
2020-12-07 21:36:43 +01:00
|
|
|
"@com_github_pkg_errors//:go_default_library",
|
2019-10-03 02:29:49 -07:00
|
|
|
"@com_github_sirupsen_logrus//:go_default_library",
|
2020-12-07 21:36:43 +01:00
|
|
|
"@com_github_urfave_cli_v2//:go_default_library",
|
2021-08-26 18:59:00 -05:00
|
|
|
],
|
2018-10-06 02:14:50 +09:00
|
|
|
)
|
2019-09-18 12:05:24 -05:00
|
|
|
|
|
|
|
go_test(
|
|
|
|
name = "go_default_test",
|
2021-03-04 15:01:32 -06:00
|
|
|
srcs = [
|
|
|
|
"db_test.go",
|
|
|
|
"restore_test.go",
|
|
|
|
],
|
2019-09-18 12:05:24 -05:00
|
|
|
embed = [":go_default_library"],
|
2021-03-04 15:01:32 -06:00
|
|
|
deps = [
|
|
|
|
"//beacon-chain/db/kv:go_default_library",
|
2021-09-21 13:11:16 -05:00
|
|
|
"//cmd:go_default_library",
|
2022-08-02 17:30:46 +02:00
|
|
|
"//consensus-types/blocks:go_default_library",
|
2022-04-29 14:32:11 +00:00
|
|
|
"//consensus-types/primitives:go_default_library",
|
2021-09-23 13:53:46 -05:00
|
|
|
"//testing/assert:go_default_library",
|
|
|
|
"//testing/require:go_default_library",
|
|
|
|
"//testing/util:go_default_library",
|
2021-03-04 15:01:32 -06:00
|
|
|
"@com_github_sirupsen_logrus//hooks/test:go_default_library",
|
|
|
|
"@com_github_urfave_cli_v2//:go_default_library",
|
|
|
|
],
|
2019-09-18 12:05:24 -05:00
|
|
|
)
|