2019-10-17 00:48:26 +00:00
|
|
|
load("@io_bazel_rules_go//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",
|
|
|
|
visibility = ["//beacon-chain:__subpackages__"],
|
2019-10-17 00:48:26 +00:00
|
|
|
deps = [
|
|
|
|
"//beacon-chain/core/helpers:go_default_library",
|
2020-01-31 20:57:01 +00:00
|
|
|
"//beacon-chain/state:go_default_library",
|
2019-10-17 00:48:26 +00:00
|
|
|
"//proto/beacon/p2p/v1:go_default_library",
|
2020-01-29 01:44:51 +00:00
|
|
|
"//shared/attestationutil:go_default_library",
|
2019-10-17 17:54:03 +00:00
|
|
|
"//shared/mathutil:go_default_library",
|
|
|
|
"//shared/params:go_default_library",
|
2019-10-17 00:48:26 +00:00
|
|
|
"//shared/traceutil:go_default_library",
|
|
|
|
"@com_github_pkg_errors//:go_default_library",
|
2019-11-27 05:08:18 +00:00
|
|
|
"@com_github_prysmaticlabs_ethereumapis//eth/v1alpha1: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 = [
|
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",
|
2020-01-31 20:57:01 +00:00
|
|
|
"//beacon-chain/state:go_default_library",
|
2019-10-17 00:48:26 +00:00
|
|
|
"//proto/beacon/p2p/v1:go_default_library",
|
2020-01-29 01:44:51 +00:00
|
|
|
"//shared/attestationutil:go_default_library",
|
2019-10-17 00:48:26 +00:00
|
|
|
"//shared/params:go_default_library",
|
|
|
|
"//shared/testutil:go_default_library",
|
2019-10-18 01:10:41 +00:00
|
|
|
"@com_github_gogo_protobuf//proto:go_default_library",
|
2019-11-27 05:08:18 +00:00
|
|
|
"@com_github_prysmaticlabs_ethereumapis//eth/v1alpha1:go_default_library",
|
2019-10-17 09:24:13 +00:00
|
|
|
"@com_github_prysmaticlabs_go_bitfield//:go_default_library",
|
2019-10-17 00:48:26 +00:00
|
|
|
],
|
2019-10-16 18:26:02 +00:00
|
|
|
)
|