github.com/prysmaticlabs/prysm@v1.4.4/shared/aggregation/sync_contribution/BUILD.bazel (about) 1 load("@prysm//tools/go:def.bzl", "go_library", "go_test") 2 3 go_library( 4 name = "go_default_library", 5 srcs = [ 6 "contribution.go", 7 "naive.go", 8 ], 9 importpath = "github.com/prysmaticlabs/prysm/shared/aggregation/sync_contribution", 10 visibility = ["//visibility:public"], 11 deps = [ 12 "//proto/prysm/v2:go_default_library", 13 "//shared/aggregation:go_default_library", 14 "//shared/bls:go_default_library", 15 "//shared/copyutil:go_default_library", 16 "@com_github_pkg_errors//:go_default_library", 17 "@com_github_sirupsen_logrus//:go_default_library", 18 ], 19 ) 20 21 go_test( 22 name = "go_default_test", 23 srcs = ["naive_test.go"], 24 embed = [":go_default_library"], 25 deps = [ 26 "//proto/prysm/v2:go_default_library", 27 "//shared/aggregation:go_default_library", 28 "//shared/aggregation/testing:go_default_library", 29 "//shared/bls:go_default_library", 30 "//shared/featureconfig:go_default_library", 31 "//shared/testutil/assert:go_default_library", 32 "//shared/testutil/require:go_default_library", 33 "@com_github_prysmaticlabs_go_bitfield//:go_default_library", 34 ], 35 )