2020-05-05 00:22:26 -07:00
|
|
|
load("@prysm//tools/go:def.bzl", "go_library")
|
|
|
|
load("@io_bazel_rules_go//go:def.bzl", "go_test")
|
2019-10-16 11:26:02 -07:00
|
|
|
|
|
|
|
go_library(
|
|
|
|
name = "go_default_library",
|
2019-10-16 17:48:26 -07:00
|
|
|
srcs = [
|
|
|
|
"attestation.go",
|
2019-10-17 02:24:13 -07:00
|
|
|
"justification_finalization.go",
|
2019-10-16 17:48:26 -07:00
|
|
|
"new.go",
|
2019-10-17 10:54:03 -07:00
|
|
|
"reward_penalty.go",
|
2019-10-17 18:10:41 -07:00
|
|
|
"slashing.go",
|
2019-10-16 17:48:26 -07:00
|
|
|
"type.go",
|
|
|
|
],
|
2019-10-16 11:26:02 -07:00
|
|
|
importpath = "github.com/prysmaticlabs/prysm/beacon-chain/core/epoch/precompute",
|
|
|
|
visibility = ["//beacon-chain:__subpackages__"],
|
2019-10-16 17:48:26 -07:00
|
|
|
deps = [
|
|
|
|
"//beacon-chain/core/helpers:go_default_library",
|
2020-01-31 14:57:01 -06:00
|
|
|
"//beacon-chain/state:go_default_library",
|
2019-10-16 17:48:26 -07:00
|
|
|
"//proto/beacon/p2p/v1:go_default_library",
|
2020-01-29 07:14:51 +05:30
|
|
|
"//shared/attestationutil:go_default_library",
|
2019-10-17 10:54:03 -07:00
|
|
|
"//shared/mathutil:go_default_library",
|
|
|
|
"//shared/params:go_default_library",
|
2019-10-16 17:48:26 -07:00
|
|
|
"//shared/traceutil:go_default_library",
|
|
|
|
"@com_github_pkg_errors//:go_default_library",
|
2019-11-26 23:08:18 -06:00
|
|
|
"@com_github_prysmaticlabs_ethereumapis//eth/v1alpha1:go_default_library",
|
2019-10-16 17:48:26 -07:00
|
|
|
"@io_opencensus_go//trace:go_default_library",
|
|
|
|
],
|
|
|
|
)
|
|
|
|
|
|
|
|
go_test(
|
|
|
|
name = "go_default_test",
|
|
|
|
srcs = [
|
|
|
|
"attestation_test.go",
|
2019-10-17 02:24:13 -07:00
|
|
|
"justification_finalization_test.go",
|
2019-10-16 17:48:26 -07:00
|
|
|
"new_test.go",
|
2019-10-17 10:54:03 -07:00
|
|
|
"reward_penalty_test.go",
|
2019-10-17 18:10:41 -07:00
|
|
|
"slashing_test.go",
|
2019-10-16 17:48:26 -07:00
|
|
|
],
|
|
|
|
embed = [":go_default_library"],
|
|
|
|
deps = [
|
2019-10-17 10:54:03 -07:00
|
|
|
"//beacon-chain/core/epoch:go_default_library",
|
2019-10-16 17:48:26 -07:00
|
|
|
"//beacon-chain/core/helpers:go_default_library",
|
2020-01-31 14:57:01 -06:00
|
|
|
"//beacon-chain/state:go_default_library",
|
2019-10-16 17:48:26 -07:00
|
|
|
"//proto/beacon/p2p/v1:go_default_library",
|
2020-01-29 07:14:51 +05:30
|
|
|
"//shared/attestationutil:go_default_library",
|
2020-06-10 06:40:48 +08:00
|
|
|
"//shared/mathutil:go_default_library",
|
2019-10-16 17:48:26 -07:00
|
|
|
"//shared/params:go_default_library",
|
|
|
|
"//shared/testutil:go_default_library",
|
2020-08-10 13:34:33 +03:00
|
|
|
"//shared/testutil/assert:go_default_library",
|
2020-07-19 09:38:45 -07:00
|
|
|
"//shared/testutil/require:go_default_library",
|
2019-10-17 18:10:41 -07:00
|
|
|
"@com_github_gogo_protobuf//proto:go_default_library",
|
2019-11-26 23:08:18 -06:00
|
|
|
"@com_github_prysmaticlabs_ethereumapis//eth/v1alpha1:go_default_library",
|
2019-10-17 02:24:13 -07:00
|
|
|
"@com_github_prysmaticlabs_go_bitfield//:go_default_library",
|
2019-10-16 17:48:26 -07:00
|
|
|
],
|
2019-10-16 11:26:02 -07:00
|
|
|
)
|