mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2025-01-07 18:21:20 +00:00
edb6590764
* Build herumi from source. Working so far on linux_amd64 for compile, but tests fail to initialize the curve appropriately * Add copts to go_default_library * llvm toolchain, still WIP * Fixes, make llvm a config flag * fix gazelle resolution * comment * comment * update herumi to the v0.9.4 version * Apply @nisdas patch from https://github.com/herumi/bls-eth-go-binary/pull/5
42 lines
1.2 KiB
Python
42 lines
1.2 KiB
Python
load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
|
|
|
|
go_library(
|
|
name = "go_default_library",
|
|
testonly = True,
|
|
srcs = [
|
|
"aggregate_pubkeys_test.yaml.go",
|
|
"aggregate_sigs_test.yaml.go",
|
|
"msg_hash_compressed_test.yaml.go",
|
|
"msg_hash_uncompressed_test.yaml.go",
|
|
"priv_to_pub_test.yaml.go",
|
|
"sign_msg_test.yaml.go",
|
|
],
|
|
importpath = "github.com/prysmaticlabs/prysm/shared/bls/spectest",
|
|
visibility = ["//visibility:public"],
|
|
)
|
|
|
|
go_test(
|
|
name = "go_default_test",
|
|
size = "small",
|
|
srcs = [
|
|
"aggregate_pubkeys_test.go",
|
|
"aggregate_sigs_test.go",
|
|
"msg_hash_compressed_test.go",
|
|
"msg_hash_uncompressed_test.go",
|
|
"priv_to_pub_test.go",
|
|
"sign_msg_test.go",
|
|
],
|
|
data = [
|
|
"@eth2_spec_tests_general//:test_data",
|
|
],
|
|
embed = [":go_default_library"],
|
|
tags = ["spectest"],
|
|
deps = [
|
|
"//shared/bls:go_default_library",
|
|
"//shared/bytesutil:go_default_library",
|
|
"//shared/testutil:go_default_library",
|
|
"@com_github_ghodss_yaml//:go_default_library",
|
|
"@herumi_bls_eth_go_binary//:go_default_library",
|
|
],
|
|
)
|