2021-09-17 01:32:23 +00:00
|
|
|
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",
|
2021-09-23 15:23:37 +00:00
|
|
|
"//encoding/bytesutil:go_default_library",
|
2021-09-17 01:32:23 +00:00
|
|
|
"//testing/bls/utils:go_default_library",
|
2021-09-23 18:53:46 +00:00
|
|
|
"//testing/require:go_default_library",
|
2021-09-17 01:32:23 +00:00
|
|
|
"@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",
|
|
|
|
],
|
2023-03-17 18:52:56 +00:00
|
|
|
importpath = "github.com/prysmaticlabs/prysm/v4/testing/bls",
|
2021-09-17 01:32:23 +00:00
|
|
|
visibility = ["//visibility:public"],
|
|
|
|
)
|