2021-06-30 19:22:09 +00:00
|
|
|
load("@prysm//tools/go:def.bzl", "go_library", "go_test")
|
2020-06-23 04:00:38 +00:00
|
|
|
|
|
|
|
go_library(
|
|
|
|
name = "go_default_library",
|
|
|
|
srcs = [
|
|
|
|
"attestations.go",
|
|
|
|
"maxcover.go",
|
|
|
|
"naive.go",
|
|
|
|
],
|
|
|
|
importpath = "github.com/prysmaticlabs/prysm/shared/aggregation/attestations",
|
|
|
|
visibility = ["//visibility:public"],
|
|
|
|
deps = [
|
2021-09-15 01:18:39 +00:00
|
|
|
"//config/features:go_default_library",
|
2021-09-15 22:55:11 +00:00
|
|
|
"//crypto/bls:go_default_library",
|
2021-07-21 21:34:07 +00:00
|
|
|
"//proto/prysm/v1alpha1:go_default_library",
|
2020-06-23 04:00:38 +00:00
|
|
|
"//shared/aggregation:go_default_library",
|
|
|
|
"@com_github_pkg_errors//:go_default_library",
|
|
|
|
"@com_github_prysmaticlabs_go_bitfield//:go_default_library",
|
|
|
|
"@com_github_sirupsen_logrus//:go_default_library",
|
|
|
|
],
|
|
|
|
)
|
|
|
|
|
|
|
|
go_test(
|
|
|
|
name = "go_default_test",
|
|
|
|
srcs = [
|
2021-07-08 15:31:40 +00:00
|
|
|
"attestations_bench_test.go",
|
2020-06-23 04:00:38 +00:00
|
|
|
"attestations_test.go",
|
|
|
|
"maxcover_test.go",
|
|
|
|
],
|
|
|
|
embed = [":go_default_library"],
|
|
|
|
deps = [
|
2021-09-15 01:18:39 +00:00
|
|
|
"//config/features:go_default_library",
|
2021-09-15 22:55:11 +00:00
|
|
|
"//crypto/bls:go_default_library",
|
2021-07-21 21:34:07 +00:00
|
|
|
"//proto/prysm/v1alpha1:go_default_library",
|
2020-06-23 04:00:38 +00:00
|
|
|
"//shared/aggregation:go_default_library",
|
|
|
|
"//shared/aggregation/testing:go_default_library",
|
|
|
|
"//shared/params:go_default_library",
|
2021-01-13 20:40:56 +00:00
|
|
|
"//shared/sszutil:go_default_library",
|
2020-07-18 16:31:42 +00:00
|
|
|
"//shared/testutil/assert:go_default_library",
|
|
|
|
"//shared/testutil/require:go_default_library",
|
2020-06-23 04:00:38 +00:00
|
|
|
"@com_github_prysmaticlabs_go_bitfield//:go_default_library",
|
|
|
|
"@com_github_sirupsen_logrus//:go_default_library",
|
|
|
|
],
|
|
|
|
)
|