mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2025-01-08 02:31:19 +00:00
bfae7f3c9f
* migrating set validator exit to http only and removing from api middleware * fixing ineffassign error * cleaning up middleware * fixing linting * Update validator/rpc/handlers_keymanager.go Co-authored-by: Sammy Rosso <15244892+saolyn@users.noreply.github.com> * Update validator/rpc/handlers_keymanager.go Co-authored-by: Sammy Rosso <15244892+saolyn@users.noreply.github.com> * Update validator/rpc/handlers_keymanager.go Co-authored-by: Sammy Rosso <15244892+saolyn@users.noreply.github.com> * adding more tests based on sammy's comments * radek's feedback * adjusting error codes * one more status change * fixing unit test --------- Co-authored-by: Sammy Rosso <15244892+saolyn@users.noreply.github.com> Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
27 lines
716 B
Python
27 lines
716 B
Python
load("@prysm//tools/go:def.bzl", "go_library", "go_test")
|
|
|
|
go_library(
|
|
name = "go_default_library",
|
|
srcs = [
|
|
"endpoint_factory.go",
|
|
"structs.go",
|
|
],
|
|
importpath = "github.com/prysmaticlabs/prysm/v4/validator/rpc/apimiddleware",
|
|
visibility = ["//visibility:public"],
|
|
deps = [
|
|
"//api/gateway/apimiddleware:go_default_library",
|
|
"@com_github_pkg_errors//:go_default_library",
|
|
],
|
|
)
|
|
|
|
go_test(
|
|
name = "go_default_test",
|
|
srcs = ["structs_test.go"],
|
|
embed = [":go_default_library"],
|
|
deps = [
|
|
"//config/fieldparams:go_default_library",
|
|
"//proto/eth/service:go_default_library",
|
|
"//testing/require:go_default_library",
|
|
],
|
|
)
|