mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2025-01-11 20:20:05 +00:00
ead9a83d8d
* WIP * Refactor to use iface.ValidatorClient instead of ethpb.BeaconNodeValidatorClient * Add mocks for iface.ValidatorClient * Fix mocks * Update update-mockgen.sh * Fix warnings * Fix config_setting syntax * Use custom build settings * WIP * WIP * WIP * WIP * WIP * WIP * Fix endpoint address and reduce timeout * Revert most e2e changes * Use e2e.TestParams.Ports.PrysmBeaconNodeGatewayPort * Fix BeaconRESTApiProviderFlag port * Revert e2e changes
36 lines
1.0 KiB
Python
36 lines
1.0 KiB
Python
load("@prysm//tools/go:def.bzl", "go_library", "go_test")
|
|
|
|
go_library(
|
|
name = "go_default_library",
|
|
srcs = [
|
|
"flags.go",
|
|
"interop.go",
|
|
] + select({
|
|
"//validator/client/validator-client-factory:beacon_api_usage": ["beacon_api_flags.go"],
|
|
"//conditions:default": ["grpc_flags.go"],
|
|
}),
|
|
importpath = "github.com/prysmaticlabs/prysm/v3/cmd/validator/flags",
|
|
visibility = [
|
|
"//cmd/prysmctl:__subpackages__",
|
|
"//cmd/validator:__subpackages__",
|
|
"//testing/endtoend:__subpackages__",
|
|
"//validator:__subpackages__",
|
|
],
|
|
deps = [
|
|
"//config/params:go_default_library",
|
|
"//io/file:go_default_library",
|
|
"@com_github_urfave_cli_v2//:go_default_library",
|
|
],
|
|
)
|
|
|
|
go_test(
|
|
name = "go_default_test",
|
|
srcs = ["flags_test.go"],
|
|
embed = [":go_default_library"],
|
|
deps = [
|
|
"//cmd:go_default_library",
|
|
"//testing/require:go_default_library",
|
|
"@com_github_urfave_cli_v2//:go_default_library",
|
|
],
|
|
)
|