mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2025-01-05 17:22:18 +00:00
a4db560e55
* Add flag for attester protection * Merge branch 'master' of https://github.com/prysmaticlabs/Prysm into protecc-attester-db * Merge branch 'master' of https://github.com/prysmaticlabs/Prysm into protecc-attester-db * Remove flags * Add attestation history DB functions to validator client * Fix comments * Update interface to new funcs * Merge branch 'master' of https://github.com/prysmaticlabs/Prysm into protecc-attester-db * Fix test * Merge branch 'master' into protecc-attester-db
41 lines
1.3 KiB
Python
41 lines
1.3 KiB
Python
load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
|
|
|
|
go_library(
|
|
name = "go_default_library",
|
|
srcs = [
|
|
"attestation_history.go",
|
|
"db.go",
|
|
"proposal_history.go",
|
|
"schema.go",
|
|
"setup_db.go",
|
|
],
|
|
importpath = "github.com/prysmaticlabs/prysm/validator/db",
|
|
visibility = ["//validator:__subpackages__"],
|
|
deps = [
|
|
"//proto/slashing:go_default_library",
|
|
"//shared/params:go_default_library",
|
|
"//validator/db/iface:go_default_library",
|
|
"@com_github_boltdb_bolt//:go_default_library",
|
|
"@com_github_gogo_protobuf//proto:go_default_library",
|
|
"@com_github_pkg_errors//:go_default_library",
|
|
"@com_github_prysmaticlabs_go_bitfield//:go_default_library",
|
|
"@com_github_sirupsen_logrus//:go_default_library",
|
|
"@io_opencensus_go//trace:go_default_library",
|
|
],
|
|
)
|
|
|
|
go_test(
|
|
name = "go_default_test",
|
|
srcs = [
|
|
"attestation_history_test.go",
|
|
"proposal_history_test.go",
|
|
"setup_db_test.go",
|
|
],
|
|
embed = [":go_default_library"],
|
|
deps = [
|
|
"//proto/slashing:go_default_library",
|
|
"//shared/params:go_default_library",
|
|
"@com_github_prysmaticlabs_go_bitfield//:go_default_library",
|
|
],
|
|
)
|