mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2024-12-22 19:40:37 +00:00
4c47756aed
* remove validation package * structs cleanup * merge with apimiddleware removal * more validation and Bls capitalization * builder test fix * use strconv for uint->str conversions * use DecodeHexWithLength * use exact param names * rename http package to httputil * change conversions to fmt.Sprintf * handle query paramsd and route variables * spans and receiver name * split structs, move bytes helper * missing ok check * fix reference to indexed failure * errors fixup * add godoc to helper * fix BLS casing and chainhead ref * review * fix import in tests * gzl
44 lines
1.2 KiB
Python
44 lines
1.2 KiB
Python
load("@prysm//tools/go:def.bzl", "go_library", "go_test")
|
|
|
|
go_library(
|
|
name = "go_default_library",
|
|
srcs = [
|
|
"bits.go",
|
|
"bytes.go",
|
|
"bytes_go120.go",
|
|
"bytes_legacy.go",
|
|
"eth_types.go",
|
|
"hex.go",
|
|
"integers.go",
|
|
],
|
|
importpath = "github.com/prysmaticlabs/prysm/v4/encoding/bytesutil",
|
|
visibility = ["//visibility:public"],
|
|
deps = [
|
|
"//config/fieldparams:go_default_library",
|
|
"//consensus-types/primitives:go_default_library",
|
|
"//container/slice:go_default_library",
|
|
"//math:go_default_library",
|
|
"@com_github_ethereum_go_ethereum//common/hexutil:go_default_library",
|
|
"@com_github_pkg_errors//:go_default_library",
|
|
],
|
|
)
|
|
|
|
go_test(
|
|
name = "go_default_test",
|
|
size = "small",
|
|
srcs = [
|
|
"bits_test.go",
|
|
"bytes_test.go",
|
|
"eth_types_test.go",
|
|
"hex_test.go",
|
|
"integers_test.go",
|
|
],
|
|
deps = [
|
|
":go_default_library",
|
|
"//config/fieldparams:go_default_library",
|
|
"//testing/assert:go_default_library",
|
|
"//testing/require:go_default_library",
|
|
"@com_github_ethereum_go_ethereum//common/hexutil:go_default_library",
|
|
],
|
|
)
|