prysm-pulse/validator/db/BUILD.bazel
2021-01-18 11:32:17 -08:00

46 lines
1.4 KiB
Python

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 = [
"alias.go",
"cmd.go",
"log.go",
"migrate.go",
"restore.go",
],
importpath = "github.com/prysmaticlabs/prysm/validator/db",
visibility = ["//validator:__subpackages__"],
deps = [
"//shared/cmd:go_default_library",
"//shared/fileutil:go_default_library",
"//shared/promptutil:go_default_library",
"//shared/tos:go_default_library",
"//validator/db/iface:go_default_library",
"//validator/db/kv:go_default_library",
"@com_github_pkg_errors//:go_default_library",
"@com_github_sirupsen_logrus//:go_default_library",
"@com_github_urfave_cli_v2//:go_default_library",
],
)
go_test(
name = "go_default_test",
srcs = [
"migrate_test.go",
"restore_test.go",
],
embed = [":go_default_library"],
deps = [
"//shared/cmd:go_default_library",
"//shared/params:go_default_library",
"//shared/testutil/assert:go_default_library",
"//shared/testutil/require:go_default_library",
"//validator/db/kv:go_default_library",
"//validator/db/testing:go_default_library",
"@com_github_sirupsen_logrus//hooks/test:go_default_library",
"@com_github_urfave_cli_v2//:go_default_library",
],
)