mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2024-12-22 19:40:37 +00:00
5a66807989
* First take at updating everything to v5 * Patch gRPC gateway to use prysm v5 Fix patch * Update go ssz --------- Co-authored-by: Preston Van Loon <pvanloon@offchainlabs.com>
51 lines
1.6 KiB
Python
51 lines
1.6 KiB
Python
load("@prysm//tools/go:def.bzl", "go_library", "go_test")
|
|
|
|
go_library(
|
|
name = "go_default_library",
|
|
srcs = [
|
|
"block.go",
|
|
"conversions.go",
|
|
"conversions_block.go",
|
|
"conversions_state.go",
|
|
"endpoints_beacon.go",
|
|
"endpoints_blob.go",
|
|
"endpoints_builder.go",
|
|
"endpoints_config.go",
|
|
"endpoints_debug.go",
|
|
"endpoints_events.go",
|
|
"endpoints_lightclient.go",
|
|
"endpoints_node.go",
|
|
"endpoints_rewards.go",
|
|
"endpoints_validator.go",
|
|
"other.go",
|
|
"state.go",
|
|
],
|
|
importpath = "github.com/prysmaticlabs/prysm/v5/api/server/structs",
|
|
visibility = ["//visibility:public"],
|
|
deps = [
|
|
"//api/server:go_default_library",
|
|
"//beacon-chain/state:go_default_library",
|
|
"//config/fieldparams:go_default_library",
|
|
"//consensus-types/primitives:go_default_library",
|
|
"//consensus-types/validator:go_default_library",
|
|
"//container/slice:go_default_library",
|
|
"//encoding/bytesutil:go_default_library",
|
|
"//math:go_default_library",
|
|
"//proto/engine/v1:go_default_library",
|
|
"//proto/prysm/v1alpha1:go_default_library",
|
|
"@com_github_ethereum_go_ethereum//common: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",
|
|
srcs = ["conversions_test.go"],
|
|
embed = [":go_default_library"],
|
|
deps = [
|
|
"//proto/prysm/v1alpha1:go_default_library",
|
|
"//testing/require:go_default_library",
|
|
],
|
|
)
|