mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2025-01-08 02:31:19 +00:00
b4d2395a38
* Tests for builder service * fix glob * minor changes to mock * add comments to mock * Revert "Auxiliary commit to revert individual files from bc62a140347e3cbd8bd82e99cf5e9deb98b74df0" This reverts commit c4c1016cb597b9340d1c81ab3816e037a6b97f9e. * correct comment * Do not init builder for empty endpoint * revert merging issues * better nil checks * test fix Co-authored-by: terencechain <terence@prysmaticlabs.com> Co-authored-by: Raul Jordan <raul@prysmaticlabs.com> Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
47 lines
1.6 KiB
Python
47 lines
1.6 KiB
Python
load("@prysm//tools/go:def.bzl", "go_library", "go_test")
|
|
|
|
go_library(
|
|
name = "go_default_library",
|
|
srcs = [
|
|
"client.go",
|
|
"errors.go",
|
|
"types.go",
|
|
],
|
|
importpath = "github.com/prysmaticlabs/prysm/v3/api/client/builder",
|
|
visibility = ["//visibility:public"],
|
|
deps = [
|
|
"//consensus-types/primitives:go_default_library",
|
|
"//encoding/bytesutil:go_default_library",
|
|
"//monitoring/tracing:go_default_library",
|
|
"//network:go_default_library",
|
|
"//network/authorization:go_default_library",
|
|
"//proto/engine/v1:go_default_library",
|
|
"//proto/prysm/v1alpha1:go_default_library",
|
|
"@com_github_ethereum_go_ethereum//common/hexutil:go_default_library",
|
|
"@com_github_pkg_errors//:go_default_library",
|
|
"@com_github_sirupsen_logrus//:go_default_library",
|
|
"@io_opencensus_go//trace:go_default_library",
|
|
],
|
|
)
|
|
|
|
go_test(
|
|
name = "go_default_test",
|
|
srcs = [
|
|
"client_test.go",
|
|
"types_test.go",
|
|
],
|
|
data = glob(["testdata/**"]),
|
|
embed = [":go_default_library"],
|
|
deps = [
|
|
"//config/params:go_default_library",
|
|
"//consensus-types/primitives:go_default_library",
|
|
"//encoding/bytesutil:go_default_library",
|
|
"//proto/engine/v1:go_default_library",
|
|
"//proto/prysm/v1alpha1:go_default_library",
|
|
"//testing/require:go_default_library",
|
|
"@com_github_ethereum_go_ethereum//common/hexutil:go_default_library",
|
|
"@com_github_golang_protobuf//proto:go_default_library",
|
|
"@com_github_prysmaticlabs_go_bitfield//:go_default_library",
|
|
],
|
|
)
|