mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2024-12-25 12:57:18 +00:00
461af4baa6
* Add test helpers to produce commitments and proofs * go mod tidy --------- Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
34 lines
1.0 KiB
Python
34 lines
1.0 KiB
Python
load("@prysm//tools/go:def.bzl", "go_library", "go_test")
|
|
|
|
go_library(
|
|
name = "go_default_library",
|
|
srcs = [
|
|
"trusted_setup.go",
|
|
"validation.go",
|
|
],
|
|
embedsrcs = ["trusted_setup.json"],
|
|
importpath = "github.com/prysmaticlabs/prysm/v4/beacon-chain/blockchain/kzg",
|
|
visibility = ["//visibility:public"],
|
|
deps = [
|
|
"//proto/prysm/v1alpha1:go_default_library",
|
|
"@com_github_crate_crypto_go_kzg_4844//:go_default_library",
|
|
"@com_github_pkg_errors//:go_default_library",
|
|
],
|
|
)
|
|
|
|
go_test(
|
|
name = "go_default_test",
|
|
srcs = [
|
|
"trusted_setup_test.go",
|
|
"validation_test.go",
|
|
],
|
|
embed = [":go_default_library"],
|
|
deps = [
|
|
"//proto/prysm/v1alpha1:go_default_library",
|
|
"//testing/require:go_default_library",
|
|
"@com_github_consensys_gnark_crypto//ecc/bls12-381/fr:go_default_library",
|
|
"@com_github_crate_crypto_go_kzg_4844//:go_default_library",
|
|
"@com_github_sirupsen_logrus//:go_default_library",
|
|
],
|
|
)
|