mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2024-12-28 14:17:17 +00:00
6488ab4a26
* Add function for comparing attestation datas * Fix imports * Apply beneficial spots * Gaz
30 lines
1.1 KiB
Python
30 lines
1.1 KiB
Python
load("@prysm//tools/go:def.bzl", "go_library")
|
|
load("@io_bazel_rules_go//go:def.bzl", "go_test")
|
|
|
|
go_library(
|
|
name = "go_default_library",
|
|
srcs = ["attestation_utils.go"],
|
|
importpath = "github.com/prysmaticlabs/prysm/shared/attestationutil",
|
|
visibility = ["//visibility:public"],
|
|
deps = [
|
|
"//beacon-chain/core/helpers:go_default_library",
|
|
"//shared/bls:go_default_library",
|
|
"//shared/params:go_default_library",
|
|
"@com_github_pkg_errors//:go_default_library",
|
|
"@com_github_prysmaticlabs_ethereumapis//eth/v1alpha1:go_default_library",
|
|
"@com_github_prysmaticlabs_go_bitfield//:go_default_library",
|
|
"@io_opencensus_go//trace:go_default_library",
|
|
],
|
|
)
|
|
|
|
go_test(
|
|
name = "go_default_test",
|
|
srcs = ["attestation_utils_test.go"],
|
|
embed = [":go_default_library"],
|
|
deps = [
|
|
"@com_github_gogo_protobuf//proto:go_default_library",
|
|
"@com_github_prysmaticlabs_ethereumapis//eth/v1alpha1:go_default_library",
|
|
"@com_github_prysmaticlabs_go_bitfield//:go_default_library",
|
|
],
|
|
)
|