2020-10-05 00:15:27 +00:00
|
|
|
load("@io_bazel_rules_go//go:def.bzl", "go_test")
|
|
|
|
load("@prysm//tools/go:def.bzl", "go_library")
|
|
|
|
|
|
|
|
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",
|
|
|
|
],
|
|
|
|
importpath = "github.com/prysmaticlabs/prysm/beacon-chain/rpc/beaconv1",
|
|
|
|
visibility = ["//beacon-chain:__subpackages__"],
|
|
|
|
deps = [
|
|
|
|
"//beacon-chain/blockchain:go_default_library",
|
|
|
|
"//beacon-chain/cache/depositcache: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",
|
|
|
|
"//beacon-chain/core/feed/operation:go_default_library",
|
|
|
|
"//beacon-chain/core/feed/state: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",
|
|
|
|
"//beacon-chain/powchain:go_default_library",
|
2021-03-22 15:19:38 +00:00
|
|
|
"//beacon-chain/rpc/statefetcher:go_default_library",
|
2021-03-08 22:37:33 +00:00
|
|
|
"//beacon-chain/state/interface:go_default_library",
|
2020-10-05 00:15:27 +00:00
|
|
|
"//beacon-chain/state/stategen:go_default_library",
|
|
|
|
"//beacon-chain/sync:go_default_library",
|
|
|
|
"//proto/beacon/p2p/v1:go_default_library",
|
2020-10-15 18:00:49 +00:00
|
|
|
"//proto/migration:go_default_library",
|
|
|
|
"//shared/bytesutil:go_default_library",
|
2021-02-25 17:14:04 +00:00
|
|
|
"//shared/featureconfig: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-05 00:15:27 +00:00
|
|
|
"@com_github_prysmaticlabs_ethereumapis//eth/v1:go_default_library",
|
2020-10-15 18:00:49 +00:00
|
|
|
"@com_github_prysmaticlabs_ethereumapis//eth/v1alpha1:go_default_library",
|
|
|
|
"@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",
|
|
|
|
"//beacon-chain/powchain/testing:go_default_library",
|
2021-03-22 15:19:38 +00:00
|
|
|
"//beacon-chain/rpc/statefetcher:go_default_library",
|
2021-05-20 07:41:39 +00:00
|
|
|
"//beacon-chain/state/interface:go_default_library",
|
2021-02-17 15:26:39 +00:00
|
|
|
"//beacon-chain/state/stategen:go_default_library",
|
2020-10-15 18:00:49 +00:00
|
|
|
"//proto/beacon/p2p/v1:go_default_library",
|
|
|
|
"//proto/migration: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",
|
|
|
|
"//shared/params:go_default_library",
|
|
|
|
"//shared/testutil:go_default_library",
|
|
|
|
"//shared/testutil/assert:go_default_library",
|
|
|
|
"//shared/testutil/require:go_default_library",
|
2021-02-11 21:08:36 +00:00
|
|
|
"@com_github_ethereum_go_ethereum//common/hexutil: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_prysmaticlabs_ethereumapis//eth/v1:go_default_library",
|
|
|
|
"@com_github_prysmaticlabs_ethereumapis//eth/v1alpha1:go_default_library",
|
2021-03-08 14:42:05 +00:00
|
|
|
"@com_github_prysmaticlabs_go_bitfield//: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
|
|
|
)
|