2021-06-30 19:22:09 +00:00
|
|
|
load("@prysm//tools/go:def.bzl", "go_library", "go_test")
|
2020-10-05 00:15:27 +00:00
|
|
|
|
|
|
|
go_library(
|
|
|
|
name = "go_default_library",
|
|
|
|
srcs = [
|
|
|
|
"blocks.go",
|
|
|
|
"config.go",
|
2021-01-11 20:03:28 +00:00
|
|
|
"log.go",
|
2020-10-05 00:15:27 +00:00
|
|
|
"pool.go",
|
|
|
|
"server.go",
|
|
|
|
"state.go",
|
|
|
|
"validator.go",
|
|
|
|
],
|
2021-07-02 15:54:52 +00:00
|
|
|
importpath = "github.com/prysmaticlabs/prysm/beacon-chain/rpc/eth/v1/beacon",
|
2020-10-05 00:15:27 +00:00
|
|
|
visibility = ["//beacon-chain:__subpackages__"],
|
|
|
|
deps = [
|
|
|
|
"//beacon-chain/blockchain:go_default_library",
|
2021-02-25 17:14:04 +00:00
|
|
|
"//beacon-chain/core/blocks:go_default_library",
|
2020-10-15 18:00:49 +00:00
|
|
|
"//beacon-chain/core/feed:go_default_library",
|
2020-10-05 00:15:27 +00:00
|
|
|
"//beacon-chain/core/feed/block:go_default_library",
|
2021-02-15 15:11:25 +00:00
|
|
|
"//beacon-chain/core/helpers:go_default_library",
|
2020-10-05 00:15:27 +00:00
|
|
|
"//beacon-chain/db:go_default_library",
|
2020-10-15 18:00:49 +00:00
|
|
|
"//beacon-chain/db/filters:go_default_library",
|
2020-10-05 00:15:27 +00:00
|
|
|
"//beacon-chain/operations/attestations:go_default_library",
|
|
|
|
"//beacon-chain/operations/slashings:go_default_library",
|
2021-02-24 15:29:25 +00:00
|
|
|
"//beacon-chain/operations/voluntaryexits:go_default_library",
|
2020-10-05 00:15:27 +00:00
|
|
|
"//beacon-chain/p2p:go_default_library",
|
2021-03-22 15:19:38 +00:00
|
|
|
"//beacon-chain/rpc/statefetcher:go_default_library",
|
2021-07-23 16:11:21 +00:00
|
|
|
"//beacon-chain/state:go_default_library",
|
2020-10-05 00:15:27 +00:00
|
|
|
"//beacon-chain/state/stategen:go_default_library",
|
2021-06-30 15:06:19 +00:00
|
|
|
"//beacon-chain/state/v1:go_default_library",
|
2021-06-02 23:49:52 +00:00
|
|
|
"//proto/eth/v1:go_default_library",
|
2020-10-15 18:00:49 +00:00
|
|
|
"//proto/migration:go_default_library",
|
2021-07-21 21:34:07 +00:00
|
|
|
"//proto/prysm/v1alpha1:go_default_library",
|
|
|
|
"//proto/prysm/v1alpha1/wrapper:go_default_library",
|
2021-07-23 20:10:15 +00:00
|
|
|
"//proto/prysm/v2/block:go_default_library",
|
2020-10-15 18:00:49 +00:00
|
|
|
"//shared/bytesutil:go_default_library",
|
2021-02-25 17:14:04 +00:00
|
|
|
"//shared/featureconfig:go_default_library",
|
2021-06-15 15:28:49 +00:00
|
|
|
"//shared/grpcutils:go_default_library",
|
2021-01-26 09:37:22 +00:00
|
|
|
"//shared/params:go_default_library",
|
2021-01-28 00:30:48 +00:00
|
|
|
"@com_github_ethereum_go_ethereum//common/hexutil:go_default_library",
|
2020-10-15 18:00:49 +00:00
|
|
|
"@com_github_pkg_errors//:go_default_library",
|
2021-02-09 10:05:22 +00:00
|
|
|
"@com_github_prysmaticlabs_eth2_types//:go_default_library",
|
2020-10-15 18:00:49 +00:00
|
|
|
"@com_github_sirupsen_logrus//:go_default_library",
|
2021-01-26 09:37:22 +00:00
|
|
|
"@io_opencensus_go//trace:go_default_library",
|
2020-10-15 18:00:49 +00:00
|
|
|
"@org_golang_google_grpc//codes:go_default_library",
|
|
|
|
"@org_golang_google_grpc//status:go_default_library",
|
2021-05-17 18:32:04 +00:00
|
|
|
"@org_golang_google_protobuf//types/known/emptypb:go_default_library",
|
|
|
|
"@org_golang_google_protobuf//types/known/timestamppb:go_default_library",
|
2020-10-05 00:15:27 +00:00
|
|
|
],
|
|
|
|
)
|
|
|
|
|
|
|
|
go_test(
|
|
|
|
name = "go_default_test",
|
2020-10-15 18:00:49 +00:00
|
|
|
srcs = [
|
|
|
|
"blocks_test.go",
|
2021-01-26 09:37:22 +00:00
|
|
|
"config_test.go",
|
2021-03-18 21:00:00 +00:00
|
|
|
"init_test.go",
|
2021-02-23 15:17:07 +00:00
|
|
|
"pool_test.go",
|
2020-10-15 18:00:49 +00:00
|
|
|
"server_test.go",
|
2021-02-02 14:44:28 +00:00
|
|
|
"state_test.go",
|
2021-05-20 07:41:39 +00:00
|
|
|
"validator_test.go",
|
2020-10-15 18:00:49 +00:00
|
|
|
],
|
2020-10-05 00:15:27 +00:00
|
|
|
embed = [":go_default_library"],
|
2020-10-15 18:00:49 +00:00
|
|
|
deps = [
|
|
|
|
"//beacon-chain/blockchain/testing:go_default_library",
|
2021-02-25 17:14:04 +00:00
|
|
|
"//beacon-chain/core/helpers:go_default_library",
|
2020-10-15 18:00:49 +00:00
|
|
|
"//beacon-chain/db:go_default_library",
|
|
|
|
"//beacon-chain/db/testing:go_default_library",
|
2021-03-08 14:42:05 +00:00
|
|
|
"//beacon-chain/operations/attestations:go_default_library",
|
2021-02-23 15:17:07 +00:00
|
|
|
"//beacon-chain/operations/slashings:go_default_library",
|
2021-02-24 15:29:25 +00:00
|
|
|
"//beacon-chain/operations/voluntaryexits:go_default_library",
|
2020-10-15 18:00:49 +00:00
|
|
|
"//beacon-chain/p2p/testing:go_default_library",
|
2021-03-22 15:19:38 +00:00
|
|
|
"//beacon-chain/rpc/statefetcher:go_default_library",
|
2021-06-15 15:28:49 +00:00
|
|
|
"//beacon-chain/rpc/testutil:go_default_library",
|
2021-07-23 16:11:21 +00:00
|
|
|
"//beacon-chain/state:go_default_library",
|
2021-06-02 23:49:52 +00:00
|
|
|
"//proto/eth/v1:go_default_library",
|
2020-10-15 18:00:49 +00:00
|
|
|
"//proto/migration:go_default_library",
|
2021-07-21 21:34:07 +00:00
|
|
|
"//proto/prysm/v1alpha1:go_default_library",
|
|
|
|
"//proto/prysm/v1alpha1/wrapper:go_default_library",
|
2021-07-23 20:10:15 +00:00
|
|
|
"//proto/prysm/v2/block:go_default_library",
|
2021-07-23 13:07:40 +00:00
|
|
|
"//proto/prysm/v2/state:go_default_library",
|
2021-02-25 17:14:04 +00:00
|
|
|
"//shared/bls:go_default_library",
|
2020-10-15 18:00:49 +00:00
|
|
|
"//shared/bytesutil:go_default_library",
|
2021-06-15 15:28:49 +00:00
|
|
|
"//shared/grpcutils:go_default_library",
|
2020-10-15 18:00:49 +00:00
|
|
|
"//shared/params:go_default_library",
|
|
|
|
"//shared/testutil:go_default_library",
|
|
|
|
"//shared/testutil/assert:go_default_library",
|
|
|
|
"//shared/testutil/require:go_default_library",
|
2021-06-15 15:28:49 +00:00
|
|
|
"@com_github_grpc_ecosystem_grpc_gateway_v2//runtime:go_default_library",
|
2021-02-09 10:05:22 +00:00
|
|
|
"@com_github_prysmaticlabs_eth2_types//:go_default_library",
|
2021-03-08 14:42:05 +00:00
|
|
|
"@com_github_prysmaticlabs_go_bitfield//:go_default_library",
|
2021-06-15 15:28:49 +00:00
|
|
|
"@org_golang_google_grpc//:go_default_library",
|
2021-05-17 18:32:04 +00:00
|
|
|
"@org_golang_google_protobuf//types/known/emptypb:go_default_library",
|
2020-10-15 18:00:49 +00:00
|
|
|
],
|
2020-10-05 00:15:27 +00:00
|
|
|
)
|