2020-05-05 07:22:26 +00:00
|
|
|
load("@prysm//tools/go:def.bzl", "go_library")
|
|
|
|
load("@io_bazel_rules_go//go:def.bzl", "go_test")
|
2020-01-29 01:44:51 +00:00
|
|
|
|
|
|
|
go_library(
|
|
|
|
name = "go_default_library",
|
|
|
|
srcs = ["attestation_utils.go"],
|
|
|
|
importpath = "github.com/prysmaticlabs/prysm/shared/attestationutil",
|
|
|
|
visibility = ["//visibility:public"],
|
|
|
|
deps = [
|
2020-05-05 05:15:32 +00:00
|
|
|
"//beacon-chain/core/helpers:go_default_library",
|
2021-06-02 23:49:52 +00:00
|
|
|
"//proto/eth/v1alpha1:go_default_library",
|
2020-05-05 05:15:32 +00:00
|
|
|
"//shared/bls:go_default_library",
|
|
|
|
"//shared/params:go_default_library",
|
|
|
|
"@com_github_pkg_errors//:go_default_library",
|
2021-02-23 00:14:50 +00:00
|
|
|
"@com_github_prysmaticlabs_eth2_types//:go_default_library",
|
2020-01-29 01:44:51 +00:00
|
|
|
"@com_github_prysmaticlabs_go_bitfield//:go_default_library",
|
|
|
|
"@io_opencensus_go//trace:go_default_library",
|
|
|
|
],
|
|
|
|
)
|
2020-03-22 00:23:37 +00:00
|
|
|
|
|
|
|
go_test(
|
|
|
|
name = "go_default_test",
|
|
|
|
srcs = ["attestation_utils_test.go"],
|
2020-05-12 20:55:17 +00:00
|
|
|
deps = [
|
2021-03-12 00:03:19 +00:00
|
|
|
":go_default_library",
|
2021-06-02 23:49:52 +00:00
|
|
|
"//proto/eth/v1alpha1:go_default_library",
|
2020-06-09 22:40:48 +00:00
|
|
|
"//shared/params:go_default_library",
|
2020-07-18 16:31:42 +00:00
|
|
|
"//shared/testutil/assert:go_default_library",
|
2020-10-08 23:20:18 +00:00
|
|
|
"//shared/testutil/require:go_default_library",
|
2021-02-23 00:14:50 +00:00
|
|
|
"@com_github_prysmaticlabs_eth2_types//:go_default_library",
|
2020-05-12 20:55:17 +00:00
|
|
|
"@com_github_prysmaticlabs_go_bitfield//:go_default_library",
|
|
|
|
],
|
2020-03-22 00:23:37 +00:00
|
|
|
)
|