mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2024-12-25 12:57:18 +00:00
90542c21dc
* implements max k-coverage greedy algorithm * updates go-bitfield dependency * gazelle * update base aggregate * re-arrange to shared * clean references to atts in max cover * max_cover: updates visibility * fixes tests * attestations related methods * Merge branch 'master' into attaggregation-max-cover * better op order * fix comments * removes debug stringer methods * Merge refs/heads/master into attaggregation-max-cover * log random seed * Merge branch 'attaggregation-max-cover' of github.com:prysmaticlabs/prysm into attaggregation-max-cover * Merge refs/heads/master into attaggregation-max-cover * adds more comments * Merge branch 'attaggregation-max-cover' of github.com:prysmaticlabs/prysm into attaggregation-max-cover * fixes typo
35 lines
1.0 KiB
Python
35 lines
1.0 KiB
Python
load("@io_bazel_rules_go//go:def.bzl", "go_test")
|
|
load("@prysm//tools/go:def.bzl", "go_library")
|
|
|
|
go_library(
|
|
name = "go_default_library",
|
|
srcs = [
|
|
"aggregation.go",
|
|
"attestations.go",
|
|
"maxcover.go",
|
|
],
|
|
importpath = "github.com/prysmaticlabs/prysm/shared/aggregation",
|
|
visibility = ["//visibility:public"],
|
|
deps = [
|
|
"@com_github_pkg_errors//:go_default_library",
|
|
"@com_github_prysmaticlabs_ethereumapis//eth/v1alpha1: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 = [
|
|
"aggregation_test.go",
|
|
"attestations_test.go",
|
|
"maxcover_test.go",
|
|
],
|
|
embed = [":go_default_library"],
|
|
deps = [
|
|
"//shared/bls:go_default_library",
|
|
"@com_github_prysmaticlabs_ethereumapis//eth/v1alpha1:go_default_library",
|
|
"@com_github_prysmaticlabs_go_bitfield//:go_default_library",
|
|
],
|
|
)
|