2021-06-30 19:22:09 +00:00
|
|
|
load("@prysm//tools/go:def.bzl", "go_library", "go_test")
|
2020-06-27 02:37:43 +00:00
|
|
|
|
|
|
|
go_library(
|
|
|
|
name = "go_default_library",
|
|
|
|
srcs = ["setup_db.go"],
|
|
|
|
importpath = "github.com/prysmaticlabs/prysm/validator/db/testing",
|
2021-11-09 16:49:28 +00:00
|
|
|
visibility = [
|
|
|
|
"//cmd:__subpackages__",
|
|
|
|
"//validator:__subpackages__",
|
|
|
|
],
|
2020-06-27 02:37:43 +00:00
|
|
|
deps = [
|
2021-01-18 19:32:17 +00:00
|
|
|
"//validator/db/iface:go_default_library",
|
2020-06-27 02:37:43 +00:00
|
|
|
"//validator/db/kv:go_default_library",
|
|
|
|
],
|
|
|
|
)
|
|
|
|
|
|
|
|
go_test(
|
|
|
|
name = "go_default_test",
|
|
|
|
srcs = ["setup_db_test.go"],
|
|
|
|
embed = [":go_default_library"],
|
2020-07-23 01:13:52 +00:00
|
|
|
deps = [
|
2021-09-23 18:53:46 +00:00
|
|
|
"//testing/require:go_default_library",
|
2020-07-23 01:13:52 +00:00
|
|
|
"//validator/db/kv:go_default_library",
|
|
|
|
],
|
2020-06-27 02:37:43 +00:00
|
|
|
)
|