2021-06-30 19:22:09 +00:00
|
|
|
load("@prysm//tools/go:def.bzl", "go_library", "go_test")
|
2020-02-13 16:19:46 +00:00
|
|
|
|
|
|
|
go_library(
|
|
|
|
name = "go_default_library",
|
|
|
|
testonly = True,
|
|
|
|
srcs = ["setup_db.go"],
|
|
|
|
importpath = "github.com/prysmaticlabs/prysm/slasher/db/testing",
|
|
|
|
visibility = ["//slasher:__subpackages__"],
|
|
|
|
deps = [
|
|
|
|
"//slasher/db:go_default_library",
|
|
|
|
"//slasher/db/kv:go_default_library",
|
|
|
|
],
|
|
|
|
)
|
|
|
|
|
|
|
|
go_test(
|
|
|
|
name = "go_default_test",
|
|
|
|
srcs = ["setup_db_test.go"],
|
|
|
|
embed = [":go_default_library"],
|
2020-05-04 01:14:34 +00:00
|
|
|
deps = [
|
2020-08-18 12:41:25 +00:00
|
|
|
"//shared/testutil/require:go_default_library",
|
2020-05-04 01:14:34 +00:00
|
|
|
"//slasher/db:go_default_library",
|
|
|
|
"//slasher/db/kv:go_default_library",
|
|
|
|
],
|
2020-02-13 16:19:46 +00:00
|
|
|
)
|