mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2025-01-05 09:14:28 +00:00
eb694ab5d5
* Update rules_go and fix proto conflicts * gaz * Update generated code * more emptypb fixes * gaz Co-authored-by: Victor Farazdagi <simple.square@gmail.com>
26 lines
781 B
Python
26 lines
781 B
Python
load("@prysm//tools/go:def.bzl", "go_library")
|
|
load("@io_bazel_rules_go//go:def.bzl", "go_test")
|
|
|
|
go_library(
|
|
name = "go_default_library",
|
|
srcs = ["bytes.go"],
|
|
importpath = "github.com/prysmaticlabs/prysm/shared/bytesutil",
|
|
visibility = ["//visibility:public"],
|
|
deps = [
|
|
"@com_github_ethereum_go_ethereum//common/hexutil:go_default_library",
|
|
"@com_github_prysmaticlabs_eth2_types//:go_default_library",
|
|
],
|
|
)
|
|
|
|
go_test(
|
|
name = "go_default_test",
|
|
size = "small",
|
|
srcs = ["bytes_test.go"],
|
|
deps = [
|
|
":go_default_library",
|
|
"//shared/testutil/assert:go_default_library",
|
|
"//shared/testutil/require:go_default_library",
|
|
"@com_github_ethereum_go_ethereum//common/hexutil:go_default_library",
|
|
],
|
|
)
|