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",
|
|
|
|
],
|
2021-08-16 11:11:25 +00:00
|
|
|
importpath = "github.com/prysmaticlabs/prysm/beacon-chain/rpc/eth/validator",
|
2021-07-12 15:38:55 +00:00
|
|
|
visibility = ["//beacon-chain:__subpackages__"],
|
|
|
|
deps = [
|
2021-07-16 20:55:22 +00:00
|
|
|
"//beacon-chain/blockchain:go_default_library",
|
2021-08-05 07:23:52 +00:00
|
|
|
"//beacon-chain/cache:go_default_library",
|
2021-07-16 20:55:22 +00:00
|
|
|
"//beacon-chain/core/helpers:go_default_library",
|
2021-09-08 10:41:47 +00:00
|
|
|
"//beacon-chain/core/transition:go_default_library",
|
2021-07-22 17:48:32 +00:00
|
|
|
"//beacon-chain/operations/attestations:go_default_library",
|
2021-09-03 14:47:35 +00:00
|
|
|
"//beacon-chain/operations/synccommittee:go_default_library",
|
2021-08-04 09:01:38 +00:00
|
|
|
"//beacon-chain/p2p:go_default_library",
|
2021-08-05 07:23:52 +00:00
|
|
|
"//beacon-chain/rpc/eth/helpers:go_default_library",
|
2021-07-23 14:29:38 +00:00
|
|
|
"//beacon-chain/rpc/prysm/v1alpha1/validator:go_default_library",
|
2021-08-28 20:00:46 +00:00
|
|
|
"//beacon-chain/rpc/statefetcher:go_default_library",
|
2021-07-23 16:11:21 +00:00
|
|
|
"//beacon-chain/state:go_default_library",
|
2021-07-16 20:55:22 +00:00
|
|
|
"//beacon-chain/state/v1:go_default_library",
|
|
|
|
"//beacon-chain/sync:go_default_library",
|
2021-12-15 20:14:30 +00:00
|
|
|
"//config/fieldparams:go_default_library",
|
2021-09-21 19:59:25 +00:00
|
|
|
"//config/params:go_default_library",
|
2021-09-23 15:23:37 +00:00
|
|
|
"//encoding/bytesutil:go_default_library",
|
2021-07-12 15:38:55 +00:00
|
|
|
"//proto/eth/v1:go_default_library",
|
2021-08-14 16:41:03 +00:00
|
|
|
"//proto/eth/v2:go_default_library",
|
2021-07-22 17:48:32 +00:00
|
|
|
"//proto/migration:go_default_library",
|
|
|
|
"//proto/prysm/v1alpha1:go_default_library",
|
2021-10-01 20:17:57 +00:00
|
|
|
"//time/slots:go_default_library",
|
2021-07-12 15:38:55 +00:00
|
|
|
"@com_github_pkg_errors//:go_default_library",
|
2021-07-16 20:55:22 +00:00
|
|
|
"@com_github_prysmaticlabs_eth2_types//:go_default_library",
|
2021-08-04 09:01:38 +00:00
|
|
|
"@com_github_sirupsen_logrus//: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",
|
2021-08-28 20:00:46 +00:00
|
|
|
"@org_golang_google_protobuf//types/known/emptypb:go_default_library",
|
2021-07-16 20:55:22 +00:00
|
|
|
],
|
|
|
|
)
|
|
|
|
|
|
|
|
go_test(
|
|
|
|
name = "go_default_test",
|
|
|
|
srcs = ["validator_test.go"],
|
|
|
|
embed = [":go_default_library"],
|
|
|
|
deps = [
|
|
|
|
"//beacon-chain/blockchain/testing:go_default_library",
|
2021-07-26 19:22:58 +00:00
|
|
|
"//beacon-chain/cache:go_default_library",
|
2021-09-13 13:58:42 +00:00
|
|
|
"//beacon-chain/core/altair:go_default_library",
|
2021-07-23 14:29:38 +00:00
|
|
|
"//beacon-chain/core/blocks:go_default_library",
|
2021-09-27 16:19:20 +00:00
|
|
|
"//beacon-chain/core/signing:go_default_library",
|
2021-09-30 19:00:14 +00:00
|
|
|
"//beacon-chain/core/time:go_default_library",
|
2021-09-08 10:41:47 +00:00
|
|
|
"//beacon-chain/core/transition:go_default_library",
|
2021-07-23 14:29:38 +00:00
|
|
|
"//beacon-chain/db/testing:go_default_library",
|
2021-07-22 17:48:32 +00:00
|
|
|
"//beacon-chain/operations/attestations:go_default_library",
|
2022-01-26 14:48:20 +00:00
|
|
|
"//beacon-chain/operations/attestations/mock:go_default_library",
|
2021-07-23 14:29:38 +00:00
|
|
|
"//beacon-chain/operations/slashings:go_default_library",
|
2021-09-03 14:47:35 +00:00
|
|
|
"//beacon-chain/operations/synccommittee:go_default_library",
|
2021-07-23 14:29:38 +00:00
|
|
|
"//beacon-chain/operations/voluntaryexits:go_default_library",
|
2021-07-26 19:22:58 +00:00
|
|
|
"//beacon-chain/p2p/testing:go_default_library",
|
2021-09-13 13:58:42 +00:00
|
|
|
"//beacon-chain/p2p/types:go_default_library",
|
2021-07-23 14:29:38 +00:00
|
|
|
"//beacon-chain/powchain/testing:go_default_library",
|
|
|
|
"//beacon-chain/rpc/prysm/v1alpha1/validator:go_default_library",
|
2021-08-28 20:00:46 +00:00
|
|
|
"//beacon-chain/rpc/testutil:go_default_library",
|
2021-10-14 18:52:26 +00:00
|
|
|
"//beacon-chain/state:go_default_library",
|
2021-07-23 14:29:38 +00:00
|
|
|
"//beacon-chain/state/stategen:go_default_library",
|
2021-07-16 20:55:22 +00:00
|
|
|
"//beacon-chain/sync/initial-sync/testing:go_default_library",
|
2021-12-15 20:14:30 +00:00
|
|
|
"//config/fieldparams:go_default_library",
|
2021-09-21 19:59:25 +00:00
|
|
|
"//config/params:go_default_library",
|
2021-09-15 22:55:11 +00:00
|
|
|
"//crypto/bls:go_default_library",
|
2021-09-23 15:23:37 +00:00
|
|
|
"//encoding/bytesutil:go_default_library",
|
2021-07-16 20:55:22 +00:00
|
|
|
"//proto/eth/v1:go_default_library",
|
2021-08-28 20:00:46 +00:00
|
|
|
"//proto/eth/v2:go_default_library",
|
2021-07-23 14:29:38 +00:00
|
|
|
"//proto/migration:go_default_library",
|
2021-07-22 17:48:32 +00:00
|
|
|
"//proto/prysm/v1alpha1:go_default_library",
|
2021-07-23 14:29:38 +00:00
|
|
|
"//proto/prysm/v1alpha1/wrapper:go_default_library",
|
2021-09-23 18:53:46 +00:00
|
|
|
"//testing/assert:go_default_library",
|
|
|
|
"//testing/require:go_default_library",
|
|
|
|
"//testing/util:go_default_library",
|
2021-10-01 20:17:57 +00:00
|
|
|
"//time/slots:go_default_library",
|
2021-07-16 20:55:22 +00:00
|
|
|
"@com_github_prysmaticlabs_eth2_types//:go_default_library",
|
2021-07-22 17:48:32 +00:00
|
|
|
"@com_github_prysmaticlabs_go_bitfield//:go_default_library",
|
2021-07-26 19:22:58 +00:00
|
|
|
"@org_golang_google_protobuf//proto:go_default_library",
|
2021-07-12 15:38:55 +00:00
|
|
|
],
|
|
|
|
)
|