prysm-pulse/validator/db/testing/BUILD.bazel
terence tsao c69bce5d84
Use fieldparams for BLS public key (#10042)
* Use fieldparams for pubkey length

* Fix validator tests

* fix more tests

* fix mock validator

* Fix typo

* bunch of typos

* Update bytes.go

* Update BUILD.bazel

Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2022-01-06 17:33:08 +00:00

27 lines
702 B
Python

load("@prysm//tools/go:def.bzl", "go_library", "go_test")
go_library(
name = "go_default_library",
srcs = ["setup_db.go"],
importpath = "github.com/prysmaticlabs/prysm/validator/db/testing",
visibility = [
"//cmd:__subpackages__",
"//validator:__subpackages__",
],
deps = [
"//config/fieldparams:go_default_library",
"//validator/db/iface:go_default_library",
"//validator/db/kv:go_default_library",
],
)
go_test(
name = "go_default_test",
srcs = ["setup_db_test.go"],
embed = [":go_default_library"],
deps = [
"//testing/require:go_default_library",
"//validator/db/kv:go_default_library",
],
)