2018-07-07 17:23:19 +00:00
|
|
|
load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
|
|
|
|
|
|
|
|
go_library(
|
|
|
|
name = "go_default_library",
|
|
|
|
srcs = [
|
|
|
|
"proposer.go",
|
|
|
|
"service.go",
|
|
|
|
],
|
2018-07-20 21:31:26 +00:00
|
|
|
importpath = "github.com/prysmaticlabs/prysm/client/proposer",
|
|
|
|
visibility = ["//client:__subpackages__"],
|
2018-07-07 17:23:19 +00:00
|
|
|
deps = [
|
2018-07-20 21:31:26 +00:00
|
|
|
"//client/database:go_default_library",
|
|
|
|
"//client/mainchain:go_default_library",
|
|
|
|
"//client/params:go_default_library",
|
|
|
|
"//client/syncer:go_default_library",
|
|
|
|
"//client/txpool:go_default_library",
|
|
|
|
"//client/types:go_default_library",
|
2018-07-17 18:39:04 +00:00
|
|
|
"//proto/sharding/v1:go_default_library",
|
|
|
|
"//shared/legacyutil:go_default_library",
|
2018-07-24 15:21:58 +00:00
|
|
|
"//shared/p2p:go_default_library",
|
2018-07-07 17:23:19 +00:00
|
|
|
"@com_github_ethereum_go_ethereum//accounts:go_default_library",
|
|
|
|
"@com_github_ethereum_go_ethereum//accounts/abi/bind:go_default_library",
|
|
|
|
"@com_github_ethereum_go_ethereum//core/types:go_default_library",
|
|
|
|
"@com_github_ethereum_go_ethereum//event:go_default_library",
|
2018-07-10 02:27:23 +00:00
|
|
|
"@com_github_sirupsen_logrus//:go_default_library",
|
2018-07-07 17:23:19 +00:00
|
|
|
],
|
|
|
|
)
|
|
|
|
|
|
|
|
go_test(
|
|
|
|
name = "go_default_test",
|
2018-07-17 18:39:04 +00:00
|
|
|
size = "small",
|
2018-07-07 17:23:19 +00:00
|
|
|
srcs = ["service_test.go"],
|
|
|
|
embed = [":go_default_library"],
|
|
|
|
deps = [
|
2018-07-20 21:31:26 +00:00
|
|
|
"//client/internal:go_default_library",
|
|
|
|
"//client/params:go_default_library",
|
2018-07-07 17:23:19 +00:00
|
|
|
"@com_github_ethereum_go_ethereum//accounts/abi/bind:go_default_library",
|
|
|
|
"@com_github_ethereum_go_ethereum//common:go_default_library",
|
|
|
|
"@com_github_ethereum_go_ethereum//core/types:go_default_library",
|
|
|
|
],
|
|
|
|
)
|