2021-06-30 19:22:09 +00:00
|
|
|
load("@prysm//tools/go:def.bzl", "go_library", "go_test")
|
2018-11-08 16:52:51 +00:00
|
|
|
|
|
|
|
go_library(
|
|
|
|
name = "go_default_library",
|
|
|
|
srcs = ["bytes.go"],
|
2022-08-16 12:20:13 +00:00
|
|
|
importpath = "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil",
|
2018-11-08 16:52:51 +00:00
|
|
|
visibility = ["//visibility:public"],
|
2021-09-02 16:54:53 +00:00
|
|
|
deps = [
|
2022-01-31 16:44:17 +00:00
|
|
|
"//config/fieldparams:go_default_library",
|
2022-04-29 14:32:11 +00:00
|
|
|
"//consensus-types/primitives:go_default_library",
|
2021-09-02 16:54:53 +00:00
|
|
|
"@com_github_pkg_errors//:go_default_library",
|
|
|
|
],
|
2018-11-08 16:52:51 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
go_test(
|
|
|
|
name = "go_default_test",
|
2019-06-30 16:00:22 +00:00
|
|
|
size = "small",
|
2018-11-08 16:52:51 +00:00
|
|
|
srcs = ["bytes_test.go"],
|
2020-07-18 16:31:42 +00:00
|
|
|
deps = [
|
2021-03-12 00:03:19 +00:00
|
|
|
":go_default_library",
|
2022-01-31 16:44:17 +00:00
|
|
|
"//config/fieldparams:go_default_library",
|
2021-09-23 18:53:46 +00:00
|
|
|
"//testing/assert:go_default_library",
|
|
|
|
"//testing/require:go_default_library",
|
2020-07-18 16:31:42 +00:00
|
|
|
],
|
2018-11-08 16:52:51 +00:00
|
|
|
)
|