2022-11-22 12:12:55 +00:00
|
|
|
load("@prysm//tools/go:def.bzl", "go_library", "go_test")
|
2022-11-07 10:29:27 +00:00
|
|
|
|
|
|
|
go_library(
|
|
|
|
name = "go_default_library",
|
2022-11-22 12:12:55 +00:00
|
|
|
srcs = [
|
2022-12-07 19:20:11 +00:00
|
|
|
"activation.go",
|
2022-12-06 12:27:26 +00:00
|
|
|
"attestation_data.go",
|
2022-11-22 12:12:55 +00:00
|
|
|
"beacon_api_helpers.go",
|
|
|
|
"beacon_api_validator_client.go",
|
2022-12-12 10:39:51 +00:00
|
|
|
"beacon_block_json_helpers.go",
|
2022-12-15 22:34:05 +00:00
|
|
|
"beacon_block_proto_helpers.go",
|
2022-12-05 10:27:41 +00:00
|
|
|
"domain_data.go",
|
2022-11-22 12:12:55 +00:00
|
|
|
"genesis.go",
|
2022-12-15 22:34:05 +00:00
|
|
|
"get_beacon_block.go",
|
2022-12-06 12:27:26 +00:00
|
|
|
"index.go",
|
|
|
|
"json_rest_handler.go",
|
2022-12-19 12:23:54 +00:00
|
|
|
"prepare_beacon_proposer.go",
|
2022-12-12 10:39:51 +00:00
|
|
|
"propose_beacon_block.go",
|
2022-12-19 12:58:52 +00:00
|
|
|
"propose_exit.go",
|
2022-12-06 12:27:26 +00:00
|
|
|
"state_validators.go",
|
2022-12-14 12:58:36 +00:00
|
|
|
"status.go",
|
2022-11-22 12:12:55 +00:00
|
|
|
],
|
2022-11-07 10:29:27 +00:00
|
|
|
importpath = "github.com/prysmaticlabs/prysm/v3/validator/client/beacon-api",
|
|
|
|
visibility = ["//validator:__subpackages__"],
|
|
|
|
deps = [
|
2022-11-22 12:12:55 +00:00
|
|
|
"//api/gateway/apimiddleware:go_default_library",
|
2022-12-05 10:27:41 +00:00
|
|
|
"//beacon-chain/core/signing:go_default_library",
|
2022-11-22 12:12:55 +00:00
|
|
|
"//beacon-chain/rpc/apimiddleware:go_default_library",
|
2022-12-07 19:20:11 +00:00
|
|
|
"//config/params:go_default_library",
|
2022-12-05 10:27:41 +00:00
|
|
|
"//consensus-types/primitives:go_default_library",
|
|
|
|
"//encoding/bytesutil:go_default_library",
|
|
|
|
"//network/forks:go_default_library",
|
2022-12-15 22:34:05 +00:00
|
|
|
"//proto/engine/v1:go_default_library",
|
2022-11-07 10:29:27 +00:00
|
|
|
"//proto/prysm/v1alpha1:go_default_library",
|
|
|
|
"//validator/client/iface:go_default_library",
|
2022-11-22 12:12:55 +00:00
|
|
|
"@com_github_ethereum_go_ethereum//common/hexutil:go_default_library",
|
|
|
|
"@com_github_pkg_errors//:go_default_library",
|
2022-11-07 10:29:27 +00:00
|
|
|
"@io_bazel_rules_go//proto/wkt:empty_go_proto",
|
2022-12-07 19:20:11 +00:00
|
|
|
"@org_golang_google_grpc//:go_default_library",
|
2022-11-07 10:29:27 +00:00
|
|
|
],
|
|
|
|
)
|
2022-11-22 12:12:55 +00:00
|
|
|
|
|
|
|
go_test(
|
|
|
|
name = "go_default_test",
|
|
|
|
size = "small",
|
|
|
|
srcs = [
|
2022-12-07 19:20:11 +00:00
|
|
|
"activation_test.go",
|
2022-12-06 12:27:26 +00:00
|
|
|
"attestation_data_test.go",
|
2022-11-22 12:12:55 +00:00
|
|
|
"beacon_api_helpers_test.go",
|
2022-12-05 10:27:41 +00:00
|
|
|
"beacon_api_validator_client_test.go",
|
2022-12-12 10:39:51 +00:00
|
|
|
"beacon_block_json_helpers_test.go",
|
2022-12-15 22:34:05 +00:00
|
|
|
"beacon_block_proto_helpers_test.go",
|
2022-12-05 10:27:41 +00:00
|
|
|
"domain_data_test.go",
|
2022-11-22 12:12:55 +00:00
|
|
|
"genesis_test.go",
|
2022-12-15 22:34:05 +00:00
|
|
|
"get_beacon_block_altair_test.go",
|
|
|
|
"get_beacon_block_bellatrix_test.go",
|
|
|
|
"get_beacon_block_phase0_test.go",
|
|
|
|
"get_beacon_block_test.go",
|
2022-12-06 12:27:26 +00:00
|
|
|
"index_test.go",
|
|
|
|
"json_rest_handler_test.go",
|
2022-12-19 12:23:54 +00:00
|
|
|
"prepare_beacon_proposer_test.go",
|
2022-12-12 10:39:51 +00:00
|
|
|
"propose_beacon_block_altair_test.go",
|
|
|
|
"propose_beacon_block_bellatrix_test.go",
|
|
|
|
"propose_beacon_block_blinded_bellatrix_test.go",
|
|
|
|
"propose_beacon_block_blinded_capella_test.go",
|
|
|
|
"propose_beacon_block_phase0_test.go",
|
|
|
|
"propose_beacon_block_test.go",
|
2022-12-19 12:58:52 +00:00
|
|
|
"propose_exit_test.go",
|
2022-12-06 12:27:26 +00:00
|
|
|
"state_validators_test.go",
|
2022-12-14 12:58:36 +00:00
|
|
|
"status_test.go",
|
2022-11-22 12:12:55 +00:00
|
|
|
"wait_for_chain_start_test.go",
|
|
|
|
],
|
|
|
|
embed = [":go_default_library"],
|
|
|
|
deps = [
|
|
|
|
"//api/gateway/apimiddleware:go_default_library",
|
|
|
|
"//beacon-chain/rpc/apimiddleware:go_default_library",
|
2022-12-05 10:27:41 +00:00
|
|
|
"//config/params:go_default_library",
|
2022-12-06 12:27:26 +00:00
|
|
|
"//consensus-types/primitives:go_default_library",
|
2022-12-05 10:27:41 +00:00
|
|
|
"//encoding/bytesutil:go_default_library",
|
2022-12-12 10:39:51 +00:00
|
|
|
"//proto/engine/v1:go_default_library",
|
2022-12-05 10:27:41 +00:00
|
|
|
"//proto/prysm/v1alpha1:go_default_library",
|
2022-11-22 12:12:55 +00:00
|
|
|
"//testing/assert:go_default_library",
|
|
|
|
"//testing/require:go_default_library",
|
2022-12-05 10:27:41 +00:00
|
|
|
"//validator/client/beacon-api/mock:go_default_library",
|
2022-12-12 10:39:51 +00:00
|
|
|
"//validator/client/beacon-api/test-helpers:go_default_library",
|
2022-11-22 12:12:55 +00:00
|
|
|
"@com_github_ethereum_go_ethereum//common/hexutil:go_default_library",
|
2022-12-05 10:27:41 +00:00
|
|
|
"@com_github_golang_mock//gomock:go_default_library",
|
2022-12-06 12:27:26 +00:00
|
|
|
"@com_github_pkg_errors//:go_default_library",
|
2022-11-22 12:12:55 +00:00
|
|
|
"@org_golang_google_protobuf//types/known/emptypb:go_default_library",
|
|
|
|
],
|
|
|
|
)
|