2021-06-30 19:22:09 +00:00
|
|
|
load("@prysm//tools/go:def.bzl", "go_library", "go_test")
|
2019-10-16 18:26:02 +00:00
|
|
|
|
|
|
|
go_library(
|
|
|
|
name = "go_default_library",
|
2019-10-17 00:48:26 +00:00
|
|
|
srcs = [
|
|
|
|
"attestation.go",
|
2019-10-17 09:24:13 +00:00
|
|
|
"justification_finalization.go",
|
2019-10-17 00:48:26 +00:00
|
|
|
"new.go",
|
2019-10-17 17:54:03 +00:00
|
|
|
"reward_penalty.go",
|
2019-10-18 01:10:41 +00:00
|
|
|
"slashing.go",
|
2019-10-17 00:48:26 +00:00
|
|
|
"type.go",
|
|
|
|
],
|
2019-10-16 18:26:02 +00:00
|
|
|
importpath = "github.com/prysmaticlabs/prysm/beacon-chain/core/epoch/precompute",
|
2021-04-22 14:53:30 +00:00
|
|
|
visibility = [
|
|
|
|
"//beacon-chain:__subpackages__",
|
2021-09-14 16:02:58 +00:00
|
|
|
"//testing/spectest:__subpackages__",
|
2021-04-22 14:53:30 +00:00
|
|
|
],
|
2019-10-17 00:48:26 +00:00
|
|
|
deps = [
|
2021-09-03 20:10:31 +00:00
|
|
|
"//beacon-chain/core:go_default_library",
|
2019-10-17 00:48:26 +00:00
|
|
|
"//beacon-chain/core/helpers:go_default_library",
|
2021-07-23 16:11:21 +00:00
|
|
|
"//beacon-chain/state:go_default_library",
|
2021-09-21 19:59:25 +00:00
|
|
|
"//config/params:go_default_library",
|
2021-09-17 21:55:24 +00:00
|
|
|
"//math:go_default_library",
|
2021-09-14 20:59:51 +00:00
|
|
|
"//monitoring/tracing:go_default_library",
|
2021-07-21 21:34:07 +00:00
|
|
|
"//proto/prysm/v1alpha1:go_default_library",
|
2021-09-20 16:17:03 +00:00
|
|
|
"//proto/prysm/v1alpha1/attestation:go_default_library",
|
2019-10-17 00:48:26 +00:00
|
|
|
"@com_github_pkg_errors//:go_default_library",
|
2021-02-09 10:05:22 +00:00
|
|
|
"@com_github_prysmaticlabs_eth2_types//:go_default_library",
|
2019-10-17 00:48:26 +00:00
|
|
|
"@io_opencensus_go//trace:go_default_library",
|
|
|
|
],
|
|
|
|
)
|
|
|
|
|
|
|
|
go_test(
|
|
|
|
name = "go_default_test",
|
|
|
|
srcs = [
|
|
|
|
"attestation_test.go",
|
2019-10-17 09:24:13 +00:00
|
|
|
"justification_finalization_test.go",
|
2019-10-17 00:48:26 +00:00
|
|
|
"new_test.go",
|
2019-10-17 17:54:03 +00:00
|
|
|
"reward_penalty_test.go",
|
2019-10-18 01:10:41 +00:00
|
|
|
"slashing_test.go",
|
2019-10-17 00:48:26 +00:00
|
|
|
],
|
|
|
|
embed = [":go_default_library"],
|
|
|
|
deps = [
|
2021-09-03 20:10:31 +00:00
|
|
|
"//beacon-chain/core:go_default_library",
|
2019-10-17 17:54:03 +00:00
|
|
|
"//beacon-chain/core/epoch:go_default_library",
|
2019-10-17 00:48:26 +00:00
|
|
|
"//beacon-chain/core/helpers:go_default_library",
|
2021-07-23 16:11:21 +00:00
|
|
|
"//beacon-chain/state:go_default_library",
|
2021-06-30 15:06:19 +00:00
|
|
|
"//beacon-chain/state/v1:go_default_library",
|
2021-09-21 19:59:25 +00:00
|
|
|
"//config/params:go_default_library",
|
2021-09-17 21:55:24 +00:00
|
|
|
"//math:go_default_library",
|
2021-07-21 21:34:07 +00:00
|
|
|
"//proto/prysm/v1alpha1:go_default_library",
|
2021-09-20 16:17:03 +00:00
|
|
|
"//proto/prysm/v1alpha1/attestation:go_default_library",
|
2021-09-23 18:53:46 +00:00
|
|
|
"//testing/assert:go_default_library",
|
|
|
|
"//testing/require:go_default_library",
|
|
|
|
"//testing/util:go_default_library",
|
2021-07-13 20:12:53 +00:00
|
|
|
"@com_github_pkg_errors//:go_default_library",
|
2021-02-09 10:05:22 +00:00
|
|
|
"@com_github_prysmaticlabs_eth2_types//:go_default_library",
|
2019-10-17 09:24:13 +00:00
|
|
|
"@com_github_prysmaticlabs_go_bitfield//:go_default_library",
|
2021-05-17 18:32:04 +00:00
|
|
|
"@org_golang_google_protobuf//proto:go_default_library",
|
2019-10-17 00:48:26 +00:00
|
|
|
],
|
2019-10-16 18:26:02 +00:00
|
|
|
)
|