2021-06-30 19:22:09 +00:00
|
|
|
load("@prysm//tools/go:def.bzl", "go_library", "go_test")
|
2020-06-18 02:15:13 +00:00
|
|
|
|
|
|
|
go_library(
|
|
|
|
name = "go_default_library",
|
|
|
|
srcs = [
|
|
|
|
"hashers.go",
|
|
|
|
"helpers.go",
|
|
|
|
"htrutils.go",
|
|
|
|
"merkleize.go",
|
|
|
|
],
|
|
|
|
importpath = "github.com/prysmaticlabs/prysm/shared/htrutils",
|
|
|
|
visibility = ["//visibility:public"],
|
|
|
|
deps = [
|
2021-09-15 22:55:11 +00:00
|
|
|
"//crypto/hash:go_default_library",
|
2021-07-21 21:34:07 +00:00
|
|
|
"//proto/prysm/v1alpha1:go_default_library",
|
2020-06-18 02:15:13 +00:00
|
|
|
"//shared/bytesutil:go_default_library",
|
|
|
|
"//shared/params:go_default_library",
|
|
|
|
"//shared/trieutil:go_default_library",
|
|
|
|
"@com_github_minio_sha256_simd//:go_default_library",
|
|
|
|
"@com_github_pkg_errors//:go_default_library",
|
|
|
|
"@com_github_prysmaticlabs_go_bitfield//:go_default_library",
|
|
|
|
],
|
|
|
|
)
|
|
|
|
|
|
|
|
go_test(
|
|
|
|
name = "go_default_test",
|
|
|
|
size = "small",
|
|
|
|
srcs = [
|
|
|
|
"hashers_test.go",
|
|
|
|
"helpers_test.go",
|
|
|
|
"htrutils_test.go",
|
|
|
|
"merkleize_test.go",
|
|
|
|
],
|
|
|
|
deps = [
|
2021-03-12 00:03:19 +00:00
|
|
|
":go_default_library",
|
2021-09-15 22:55:11 +00:00
|
|
|
"//crypto/hash:go_default_library",
|
2021-07-21 21:34:07 +00:00
|
|
|
"//proto/prysm/v1alpha1:go_default_library",
|
2020-07-19 21:08:29 +00:00
|
|
|
"//shared/testutil/assert:go_default_library",
|
|
|
|
"//shared/testutil/require:go_default_library",
|
2020-06-18 02:15:13 +00:00
|
|
|
"@com_github_prysmaticlabs_go_bitfield//:go_default_library",
|
|
|
|
],
|
|
|
|
)
|