2021-06-30 14:22:09 -05:00
|
|
|
load("@prysm//tools/go:def.bzl", "go_library", "go_test")
|
2020-06-17 21:15:13 -05:00
|
|
|
|
|
|
|
go_library(
|
|
|
|
name = "go_default_library",
|
|
|
|
srcs = [
|
|
|
|
"hashers.go",
|
|
|
|
"helpers.go",
|
|
|
|
"htrutils.go",
|
|
|
|
"merkleize.go",
|
|
|
|
],
|
2024-02-14 21:46:47 -08:00
|
|
|
importpath = "github.com/prysmaticlabs/prysm/v5/encoding/ssz",
|
2020-06-17 21:15:13 -05:00
|
|
|
visibility = ["//visibility:public"],
|
|
|
|
deps = [
|
2021-12-13 17:16:23 +08:00
|
|
|
"//config/fieldparams:go_default_library",
|
2021-09-16 12:05:58 -05:00
|
|
|
"//container/trie:go_default_library",
|
2022-02-28 21:56:12 +08:00
|
|
|
"//crypto/hash/htr:go_default_library",
|
2021-09-23 10:23:37 -05:00
|
|
|
"//encoding/bytesutil:go_default_library",
|
2022-10-12 11:39:19 -05:00
|
|
|
"//proto/engine/v1:go_default_library",
|
2021-07-21 16:34:07 -05:00
|
|
|
"//proto/prysm/v1alpha1:go_default_library",
|
2020-06-17 21:15:13 -05:00
|
|
|
"@com_github_minio_sha256_simd//:go_default_library",
|
|
|
|
"@com_github_pkg_errors//:go_default_library",
|
|
|
|
"@com_github_prysmaticlabs_go_bitfield//:go_default_library",
|
2023-11-06 08:49:35 -03:00
|
|
|
"@com_github_prysmaticlabs_gohashtree//:go_default_library",
|
2020-06-17 21:15:13 -05:00
|
|
|
],
|
|
|
|
)
|
|
|
|
|
|
|
|
go_test(
|
|
|
|
name = "go_default_test",
|
|
|
|
size = "small",
|
|
|
|
srcs = [
|
2022-11-12 14:00:53 -03:00
|
|
|
"export_test.go",
|
2020-06-17 21:15:13 -05:00
|
|
|
"hashers_test.go",
|
|
|
|
"helpers_test.go",
|
2022-06-14 13:47:27 +02:00
|
|
|
"htrutils_fuzz_test.go",
|
2020-06-17 21:15:13 -05:00
|
|
|
"htrutils_test.go",
|
|
|
|
"merkleize_test.go",
|
|
|
|
],
|
2022-11-12 14:00:53 -03:00
|
|
|
embed = [":go_default_library"],
|
2020-06-17 21:15:13 -05:00
|
|
|
deps = [
|
2022-01-05 10:36:39 -08:00
|
|
|
"//config/fieldparams:go_default_library",
|
2022-06-14 13:47:27 +02:00
|
|
|
"//config/params:go_default_library",
|
2021-09-15 15:55:11 -07:00
|
|
|
"//crypto/hash:go_default_library",
|
2022-10-12 11:39:19 -05:00
|
|
|
"//proto/engine/v1:go_default_library",
|
2021-07-21 16:34:07 -05:00
|
|
|
"//proto/prysm/v1alpha1:go_default_library",
|
2021-09-23 13:53:46 -05:00
|
|
|
"//testing/assert:go_default_library",
|
|
|
|
"//testing/require:go_default_library",
|
2022-06-14 13:47:27 +02:00
|
|
|
"@com_github_pkg_errors//:go_default_library",
|
2022-06-28 15:03:24 +02:00
|
|
|
"@com_github_prysmaticlabs_fastssz//:go_default_library",
|
2020-06-17 21:15:13 -05:00
|
|
|
"@com_github_prysmaticlabs_go_bitfield//:go_default_library",
|
|
|
|
],
|
|
|
|
)
|