2020-06-27 02:37:43 +00:00
|
|
|
load("@io_bazel_rules_go//go:def.bzl", "go_test")
|
|
|
|
load("@prysm//tools/go:def.bzl", "go_library")
|
|
|
|
|
|
|
|
go_library(
|
|
|
|
name = "go_default_library",
|
|
|
|
srcs = ["setup_db.go"],
|
|
|
|
importpath = "github.com/prysmaticlabs/prysm/validator/db/testing",
|
|
|
|
visibility = ["//validator:__subpackages__"],
|
|
|
|
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 = [
|
|
|
|
"//shared/testutil/require:go_default_library",
|
|
|
|
"//validator/db/kv:go_default_library",
|
|
|
|
],
|
2020-06-27 02:37:43 +00:00
|
|
|
)
|