2018-07-14 19:48:42 +00:00
|
|
|
load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
|
|
|
|
|
|
|
|
go_library(
|
|
|
|
name = "go_default_library",
|
2019-03-01 20:31:38 +00:00
|
|
|
srcs = [
|
|
|
|
"block_cache.go",
|
|
|
|
"service.go",
|
|
|
|
],
|
2018-07-20 21:31:26 +00:00
|
|
|
importpath = "github.com/prysmaticlabs/prysm/beacon-chain/powchain",
|
2018-07-14 19:48:42 +00:00
|
|
|
visibility = ["//beacon-chain:__subpackages__"],
|
|
|
|
deps = [
|
2019-02-19 18:05:34 +00:00
|
|
|
"//beacon-chain/core/helpers:go_default_library",
|
2019-02-05 17:25:09 +00:00
|
|
|
"//beacon-chain/db:go_default_library",
|
2019-01-28 08:45:28 +00:00
|
|
|
"//contracts/deposit-contract:go_default_library",
|
2019-02-03 22:44:48 +00:00
|
|
|
"//proto/beacon/p2p/v1:go_default_library",
|
2019-01-28 11:59:37 +00:00
|
|
|
"//shared/event:go_default_library",
|
2019-01-16 14:01:21 +00:00
|
|
|
"//shared/hashutil:go_default_library",
|
2019-02-16 21:00:52 +00:00
|
|
|
"//shared/params:go_default_library",
|
2019-01-31 02:53:58 +00:00
|
|
|
"//shared/trieutil:go_default_library",
|
2018-07-14 19:48:42 +00:00
|
|
|
"@com_github_ethereum_go_ethereum//:go_default_library",
|
2019-01-16 14:01:21 +00:00
|
|
|
"@com_github_ethereum_go_ethereum//accounts/abi/bind:go_default_library",
|
2018-07-14 19:48:42 +00:00
|
|
|
"@com_github_ethereum_go_ethereum//common:go_default_library",
|
|
|
|
"@com_github_ethereum_go_ethereum//core/types:go_default_library",
|
2019-02-06 15:10:49 +00:00
|
|
|
"@com_github_prometheus_client_golang//prometheus:go_default_library",
|
|
|
|
"@com_github_prometheus_client_golang//prometheus/promauto:go_default_library",
|
2018-07-14 19:48:42 +00:00
|
|
|
"@com_github_sirupsen_logrus//:go_default_library",
|
2019-03-01 20:31:38 +00:00
|
|
|
"@io_k8s_client_go//tools/cache:go_default_library",
|
2019-02-28 03:55:47 +00:00
|
|
|
"@io_opencensus_go//trace:go_default_library",
|
2018-07-14 19:48:42 +00:00
|
|
|
],
|
|
|
|
)
|
|
|
|
|
|
|
|
go_test(
|
|
|
|
name = "go_default_test",
|
2019-03-01 20:31:38 +00:00
|
|
|
srcs = [
|
|
|
|
"block_cache_test.go",
|
|
|
|
"service_test.go",
|
|
|
|
],
|
2018-07-14 19:48:42 +00:00
|
|
|
embed = [":go_default_library"],
|
|
|
|
deps = [
|
2019-02-19 18:05:34 +00:00
|
|
|
"//beacon-chain/core/helpers:go_default_library",
|
2019-02-05 17:25:09 +00:00
|
|
|
"//beacon-chain/db:go_default_library",
|
2019-01-28 08:45:28 +00:00
|
|
|
"//contracts/deposit-contract:go_default_library",
|
2019-01-16 14:01:21 +00:00
|
|
|
"//proto/beacon/p2p/v1:go_default_library",
|
2018-10-03 01:49:01 +00:00
|
|
|
"//shared/event:go_default_library",
|
2019-01-16 14:01:21 +00:00
|
|
|
"//shared/ssz:go_default_library",
|
2018-07-27 18:41:00 +00:00
|
|
|
"//shared/testutil:go_default_library",
|
2018-07-14 19:48:42 +00:00
|
|
|
"@com_github_ethereum_go_ethereum//:go_default_library",
|
2019-01-16 14:01:21 +00:00
|
|
|
"@com_github_ethereum_go_ethereum//accounts/abi/bind:go_default_library",
|
|
|
|
"@com_github_ethereum_go_ethereum//accounts/abi/bind/backends:go_default_library",
|
2018-07-19 16:31:50 +00:00
|
|
|
"@com_github_ethereum_go_ethereum//common:go_default_library",
|
2019-01-16 14:01:21 +00:00
|
|
|
"@com_github_ethereum_go_ethereum//core:go_default_library",
|
2018-07-14 19:48:42 +00:00
|
|
|
"@com_github_ethereum_go_ethereum//core/types:go_default_library",
|
2019-01-16 14:01:21 +00:00
|
|
|
"@com_github_ethereum_go_ethereum//crypto:go_default_library",
|
2018-07-14 19:48:42 +00:00
|
|
|
"@com_github_sirupsen_logrus//hooks/test:go_default_library",
|
|
|
|
],
|
|
|
|
)
|