2020-05-05 07:22:26 +00:00
|
|
|
load("@prysm//tools/go:def.bzl", "go_library")
|
|
|
|
load("@io_bazel_rules_go//go:def.bzl", "go_test")
|
2020-01-21 23:29:04 +00:00
|
|
|
|
|
|
|
go_library(
|
|
|
|
name = "go_default_library",
|
|
|
|
srcs = [
|
|
|
|
"doc.go",
|
2021-02-24 15:29:25 +00:00
|
|
|
"mock.go",
|
2020-01-21 23:29:04 +00:00
|
|
|
"service.go",
|
|
|
|
],
|
|
|
|
importpath = "github.com/prysmaticlabs/prysm/beacon-chain/operations/voluntaryexits",
|
2020-09-14 18:42:08 +00:00
|
|
|
visibility = [
|
|
|
|
"//beacon-chain:__subpackages__",
|
|
|
|
"//fuzz:__pkg__",
|
|
|
|
],
|
2020-01-21 23:29:04 +00:00
|
|
|
deps = [
|
|
|
|
"//beacon-chain/core/helpers:go_default_library",
|
2020-02-01 01:18:36 +00:00
|
|
|
"//beacon-chain/state:go_default_library",
|
2020-01-21 23:29:04 +00:00
|
|
|
"//shared/params:go_default_library",
|
2021-02-16 07:45:34 +00:00
|
|
|
"@com_github_prysmaticlabs_eth2_types//:go_default_library",
|
2020-01-21 23:29:04 +00:00
|
|
|
"@com_github_prysmaticlabs_ethereumapis//eth/v1alpha1:go_default_library",
|
2020-07-03 05:46:53 +00:00
|
|
|
"@io_opencensus_go//trace:go_default_library",
|
2020-01-21 23:29:04 +00:00
|
|
|
],
|
|
|
|
)
|
|
|
|
|
|
|
|
go_test(
|
|
|
|
name = "go_default_test",
|
|
|
|
size = "small",
|
|
|
|
srcs = ["service_test.go"],
|
|
|
|
embed = [":go_default_library"],
|
|
|
|
deps = [
|
2020-02-01 01:18:36 +00:00
|
|
|
"//beacon-chain/state:go_default_library",
|
|
|
|
"//proto/beacon/p2p/v1:go_default_library",
|
2020-01-21 23:29:04 +00:00
|
|
|
"//shared/params:go_default_library",
|
2020-07-15 18:37:51 +00:00
|
|
|
"//shared/testutil/require:go_default_library",
|
2020-01-21 23:29:04 +00:00
|
|
|
"@com_github_gogo_protobuf//proto:go_default_library",
|
2021-02-16 07:45:34 +00:00
|
|
|
"@com_github_prysmaticlabs_eth2_types//:go_default_library",
|
2020-01-21 23:29:04 +00:00
|
|
|
"@com_github_prysmaticlabs_ethereumapis//eth/v1alpha1:go_default_library",
|
|
|
|
],
|
|
|
|
)
|