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",
|
2023-01-10 16:41:01 +00:00
|
|
|
srcs = [
|
|
|
|
"bits.go",
|
|
|
|
"bytes.go",
|
2023-04-27 15:41:57 +00:00
|
|
|
"bytes_go120.go",
|
2023-01-10 16:41:01 +00:00
|
|
|
"bytes_legacy.go",
|
|
|
|
"eth_types.go",
|
|
|
|
"hex.go",
|
|
|
|
"integers.go",
|
|
|
|
],
|
2024-02-15 05:46:47 +00:00
|
|
|
importpath = "github.com/prysmaticlabs/prysm/v5/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",
|
2023-12-08 20:37:20 +00:00
|
|
|
"//container/slice:go_default_library",
|
|
|
|
"//math:go_default_library",
|
2023-07-17 10:54:18 +00:00
|
|
|
"@com_github_ethereum_go_ethereum//common/hexutil: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",
|
2023-01-10 16:41:01 +00:00
|
|
|
srcs = [
|
|
|
|
"bits_test.go",
|
|
|
|
"bytes_test.go",
|
|
|
|
"eth_types_test.go",
|
|
|
|
"hex_test.go",
|
|
|
|
"integers_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",
|
2023-07-17 10:54:18 +00:00
|
|
|
"@com_github_ethereum_go_ethereum//common/hexutil:go_default_library",
|
2020-07-18 16:31:42 +00:00
|
|
|
],
|
2018-11-08 16:52:51 +00:00
|
|
|
)
|