2021-07-16 20:55:22 +00:00
|
|
|
load("@prysm//tools/go:def.bzl", "go_library", "go_test")
|
2021-07-12 15:38:55 +00:00
|
|
|
|
|
|
|
go_library(
|
|
|
|
name = "go_default_library",
|
|
|
|
srcs = [
|
|
|
|
"server.go",
|
|
|
|
"validator.go",
|
|
|
|
],
|
|
|
|
importpath = "github.com/prysmaticlabs/prysm/beacon-chain/rpc/eth/v1/validator",
|
|
|
|
visibility = ["//beacon-chain:__subpackages__"],
|
|
|
|
deps = [
|
2021-07-16 20:55:22 +00:00
|
|
|
"//beacon-chain/blockchain:go_default_library",
|
|
|
|
"//beacon-chain/core/helpers:go_default_library",
|
|
|
|
"//beacon-chain/core/state:go_default_library",
|
|
|
|
"//beacon-chain/state/interface:go_default_library",
|
|
|
|
"//beacon-chain/state/v1:go_default_library",
|
|
|
|
"//beacon-chain/sync:go_default_library",
|
2021-07-12 15:38:55 +00:00
|
|
|
"//proto/eth/v1:go_default_library",
|
|
|
|
"@com_github_pkg_errors//:go_default_library",
|
2021-07-16 20:55:22 +00:00
|
|
|
"@com_github_prysmaticlabs_eth2_types//:go_default_library",
|
2021-07-12 15:38:55 +00:00
|
|
|
"@io_bazel_rules_go//proto/wkt:empty_go_proto",
|
2021-07-16 20:55:22 +00:00
|
|
|
"@io_opencensus_go//trace:go_default_library",
|
|
|
|
"@org_golang_google_grpc//codes:go_default_library",
|
|
|
|
"@org_golang_google_grpc//status:go_default_library",
|
|
|
|
],
|
|
|
|
)
|
|
|
|
|
|
|
|
go_test(
|
|
|
|
name = "go_default_test",
|
|
|
|
srcs = ["validator_test.go"],
|
|
|
|
embed = [":go_default_library"],
|
|
|
|
deps = [
|
|
|
|
"//beacon-chain/blockchain/testing:go_default_library",
|
|
|
|
"//beacon-chain/core/helpers:go_default_library",
|
|
|
|
"//beacon-chain/core/state:go_default_library",
|
|
|
|
"//beacon-chain/sync/initial-sync/testing:go_default_library",
|
|
|
|
"//proto/eth/v1:go_default_library",
|
|
|
|
"//shared/params:go_default_library",
|
|
|
|
"//shared/testutil:go_default_library",
|
|
|
|
"//shared/testutil/assert:go_default_library",
|
|
|
|
"//shared/testutil/require:go_default_library",
|
|
|
|
"@com_github_prysmaticlabs_eth2_types//:go_default_library",
|
2021-07-12 15:38:55 +00:00
|
|
|
],
|
|
|
|
)
|