2023-08-03 17:35:30 -03:00
|
|
|
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"],
|
2024-02-14 21:46:47 -08:00
|
|
|
importpath = "github.com/prysmaticlabs/prysm/v5/beacon-chain/blockchain/kzg",
|
2023-08-03 17:35:30 -03:00
|
|
|
visibility = ["//visibility:public"],
|
|
|
|
deps = [
|
2023-12-06 20:36:25 -06:00
|
|
|
"//consensus-types/blocks:go_default_library",
|
2023-08-03 17:35:30 -03:00
|
|
|
"@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 = [
|
2024-01-10 01:38:06 -08:00
|
|
|
"//consensus-types/blocks:go_default_library",
|
2023-08-03 17:35:30 -03:00
|
|
|
"//testing/require:go_default_library",
|
2023-12-01 16:51:19 -03:00
|
|
|
"@com_github_consensys_gnark_crypto//ecc/bls12-381/fr:go_default_library",
|
2023-08-03 17:35:30 -03:00
|
|
|
"@com_github_crate_crypto_go_kzg_4844//:go_default_library",
|
2023-12-01 16:51:19 -03:00
|
|
|
"@com_github_sirupsen_logrus//:go_default_library",
|
2023-08-03 17:35:30 -03:00
|
|
|
],
|
|
|
|
)
|