2018-07-19 16:31:50 +00:00
|
|
|
load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
|
|
|
|
|
|
|
|
go_library(
|
|
|
|
name = "go_default_library",
|
2019-01-19 02:57:51 +00:00
|
|
|
srcs = [
|
2019-03-13 21:17:32 +00:00
|
|
|
"block_processing.go",
|
2019-01-19 02:57:51 +00:00
|
|
|
"fork_choice.go",
|
|
|
|
"service.go",
|
|
|
|
],
|
2018-07-20 21:31:26 +00:00
|
|
|
importpath = "github.com/prysmaticlabs/prysm/beacon-chain/blockchain",
|
2018-07-19 16:31:50 +00:00
|
|
|
visibility = ["//beacon-chain:__subpackages__"],
|
|
|
|
deps = [
|
2019-03-06 21:03:52 +00:00
|
|
|
"//beacon-chain/attestation:go_default_library",
|
2018-12-20 01:45:21 +00:00
|
|
|
"//beacon-chain/core/blocks:go_default_library",
|
2019-04-05 19:48:49 +00:00
|
|
|
"//beacon-chain/core/genesis:go_default_library",
|
2019-02-13 23:13:00 +00:00
|
|
|
"//beacon-chain/core/helpers:go_default_library",
|
2018-12-01 22:09:12 +00:00
|
|
|
"//beacon-chain/core/state:go_default_library",
|
2019-03-05 07:22:15 +00:00
|
|
|
"//beacon-chain/core/validators:go_default_library",
|
2018-11-16 17:01:41 +00:00
|
|
|
"//beacon-chain/db:go_default_library",
|
2019-03-19 23:07:49 +00:00
|
|
|
"//beacon-chain/operations:go_default_library",
|
2018-07-22 16:58:14 +00:00
|
|
|
"//beacon-chain/powchain:go_default_library",
|
2018-12-20 22:00:38 +00:00
|
|
|
"//proto/beacon/p2p/v1:go_default_library",
|
2019-01-31 02:53:58 +00:00
|
|
|
"//shared/bytesutil:go_default_library",
|
2018-10-03 01:49:01 +00:00
|
|
|
"//shared/event:go_default_library",
|
2019-02-26 03:42:31 +00:00
|
|
|
"//shared/hashutil:go_default_library",
|
2019-03-17 02:56:05 +00:00
|
|
|
"//shared/p2p:go_default_library",
|
2018-12-01 22:09:12 +00:00
|
|
|
"//shared/params:go_default_library",
|
2019-03-25 15:21:21 +00:00
|
|
|
"@com_github_prometheus_client_golang//prometheus:go_default_library",
|
|
|
|
"@com_github_prometheus_client_golang//prometheus/promauto:go_default_library",
|
2018-07-19 16:31:50 +00:00
|
|
|
"@com_github_sirupsen_logrus//:go_default_library",
|
2019-03-13 21:17:32 +00:00
|
|
|
"@io_opencensus_go//trace:go_default_library",
|
2018-07-19 16:31:50 +00:00
|
|
|
],
|
|
|
|
)
|
|
|
|
|
|
|
|
go_test(
|
|
|
|
name = "go_default_test",
|
2019-01-19 02:57:51 +00:00
|
|
|
srcs = [
|
2019-03-13 21:17:32 +00:00
|
|
|
"block_processing_test.go",
|
2019-01-19 02:57:51 +00:00
|
|
|
"fork_choice_test.go",
|
|
|
|
"service_test.go",
|
|
|
|
],
|
2018-07-19 16:31:50 +00:00
|
|
|
embed = [":go_default_library"],
|
|
|
|
deps = [
|
2019-03-06 21:03:52 +00:00
|
|
|
"//beacon-chain/attestation:go_default_library",
|
2019-04-05 19:48:49 +00:00
|
|
|
"//beacon-chain/core/genesis:go_default_library",
|
2019-02-04 20:34:33 +00:00
|
|
|
"//beacon-chain/core/helpers:go_default_library",
|
2019-03-05 07:22:15 +00:00
|
|
|
"//beacon-chain/core/validators:go_default_library",
|
2018-10-05 17:14:50 +00:00
|
|
|
"//beacon-chain/db:go_default_library",
|
2018-11-07 19:07:41 +00:00
|
|
|
"//beacon-chain/internal:go_default_library",
|
2018-07-22 16:58:14 +00:00
|
|
|
"//beacon-chain/powchain:go_default_library",
|
2018-07-31 18:54:45 +00:00
|
|
|
"//proto/beacon/p2p/v1:go_default_library",
|
2019-02-20 05:07:28 +00:00
|
|
|
"//shared/bls:go_default_library",
|
2019-01-31 02:53:58 +00:00
|
|
|
"//shared/bytesutil:go_default_library",
|
2019-02-18 23:34:49 +00:00
|
|
|
"//shared/event:go_default_library",
|
2019-03-26 15:40:55 +00:00
|
|
|
"//shared/featureconfig:go_default_library",
|
2019-03-12 23:39:13 +00:00
|
|
|
"//shared/forkutil:go_default_library",
|
2019-02-26 03:42:31 +00:00
|
|
|
"//shared/hashutil:go_default_library",
|
2019-03-17 02:56:05 +00:00
|
|
|
"//shared/p2p:go_default_library",
|
2018-12-19 05:18:42 +00:00
|
|
|
"//shared/params:go_default_library",
|
2018-08-18 03:34:56 +00:00
|
|
|
"//shared/testutil:go_default_library",
|
2019-02-09 14:07:30 +00:00
|
|
|
"//shared/trieutil:go_default_library",
|
2018-08-15 04:49:59 +00:00
|
|
|
"@com_github_ethereum_go_ethereum//:go_default_library",
|
2018-07-19 16:31:50 +00:00
|
|
|
"@com_github_ethereum_go_ethereum//common:go_default_library",
|
2018-07-23 15:43:41 +00:00
|
|
|
"@com_github_ethereum_go_ethereum//core/types:go_default_library",
|
2019-03-17 02:56:05 +00:00
|
|
|
"@com_github_gogo_protobuf//proto:go_default_library",
|
2018-08-18 03:34:56 +00:00
|
|
|
"@com_github_sirupsen_logrus//:go_default_library",
|
2018-07-19 16:31:50 +00:00
|
|
|
"@com_github_sirupsen_logrus//hooks/test:go_default_library",
|
|
|
|
],
|
|
|
|
)
|