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",
|
|
|
|
srcs = ["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-01-16 14:01:21 +00:00
|
|
|
"//beacon-chain/core/blocks: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-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",
|
|
|
|
"@com_github_sirupsen_logrus//:go_default_library",
|
|
|
|
],
|
|
|
|
)
|
|
|
|
|
|
|
|
go_test(
|
|
|
|
name = "go_default_test",
|
|
|
|
srcs = ["service_test.go"],
|
|
|
|
embed = [":go_default_library"],
|
|
|
|
deps = [
|
2019-01-16 14:01:21 +00:00
|
|
|
"//beacon-chain/core/blocks: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-28 08:45:28 +00:00
|
|
|
"//shared/mathutil:go_default_library",
|
|
|
|
"//shared/params: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",
|
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",
|
|
|
|
"@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",
|
|
|
|
],
|
|
|
|
)
|