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