prysm-pulse/testing/bls/BUILD.bazel
terencechain d17996f8b0
Update to V4 🚀 (#12134)
* Update V3 from V4

* Fix build v3 -> v4

* Update ssz

* Update beacon_chain.pb.go

* Fix formatter import

* Update update-mockgen.sh comment to v4

* Fix conflicts. Pass build and tests

* Fix test
2023-03-17 18:52:56 +00:00

52 lines
1.6 KiB
Python

load("@prysm//tools/go:def.bzl", "go_library", "go_test")
# gazelle:resolve go github.com/supranational/blst/bindings/go @com_github_supranational_blst//:go_default_library
go_test(
name = "go_default_test",
size = "small",
srcs = [
"aggregate_test.go",
"aggregate_verify_test.go",
"batch_verify_test.go",
"deserialization_G1_test.go",
"deserialization_G2_test.go",
"fast_aggregate_verify_test.go",
"hash_to_G2_test.go",
"sign_test.go",
"verify_test.go",
],
data = glob(["*.yaml"]) + [
"@bls_spec_tests//:test_data",
],
embed = [":go_default_library"],
shard_count = 4,
tags = ["spectest"],
deps = [
"//crypto/bls:go_default_library",
"//crypto/bls/common:go_default_library",
"//encoding/bytesutil:go_default_library",
"//testing/bls/utils:go_default_library",
"//testing/require:go_default_library",
"@com_github_ghodss_yaml//:go_default_library",
"@com_github_supranational_blst//:go_default_library",
],
)
go_library(
name = "go_default_library",
srcs = [
"aggregate_test.yaml.go",
"aggregate_verify_test.yaml.go",
"batch_verify_test.yaml.go",
"deserialization_G1_test.yaml.go",
"deserialization_G2_test.yaml.go",
"fast_aggregate_verify_test.yaml.go",
"hash_to_G2_test.yaml.go",
"sign_test.yaml.go",
"verify_test.yaml.go",
],
importpath = "github.com/prysmaticlabs/prysm/v4/testing/bls",
visibility = ["//visibility:public"],
)