mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2024-12-23 03:51:29 +00:00
d0c740f477
* WIP * WIP * adding in migration function * updating mock validator and gaz * adding descriptive logs * fixing mocking * fixing tests * fixing mock * adding changes to handle enable builder settings * fixing tests and edge case * reduce cognative complexity of function * further reducing cognative complexity on function * WIP * fixing unit test on migration * adding more tests * gaz and fix unit test * fixing deepsource issues * fixing more deesource issues missed previously * removing unused reciever name * WIP fix to migration logic * fixing loging info * reverting migration logic, converting logic to address issues discussed on slack, adding unit tests * adding test for builder setting only not saved to db * addressing comment * fixing flag * removing accidently missed deprecated flags * rolling back mock on pr * fixing fmt linting * updating comments based on feedback * Update config/features/flags.go Co-authored-by: Sammy Rosso <15244892+saolyn@users.noreply.github.com> * fixing based on feedback on PR * Update config/validator/service/proposer_settings.go Co-authored-by: Preston Van Loon <pvanloon@offchainlabs.com> * Update validator/client/runner.go Co-authored-by: Preston Van Loon <pvanloon@offchainlabs.com> * Update validator/db/kv/proposer_settings.go Co-authored-by: Preston Van Loon <pvanloon@offchainlabs.com> * adding additional logs to clear up some steps based on feedback * fixing log * deepsource * adding comments based on review feedback --------- Co-authored-by: Raul Jordan <raul@prysmaticlabs.com> Co-authored-by: Sammy Rosso <15244892+saolyn@users.noreply.github.com> Co-authored-by: Preston Van Loon <pvanloon@offchainlabs.com>
87 lines
3.8 KiB
Python
87 lines
3.8 KiB
Python
load("@prysm//tools/go:def.bzl", "go_library", "go_test")
|
|
|
|
go_test(
|
|
name = "go_default_test",
|
|
size = "small",
|
|
srcs = ["node_test.go"],
|
|
data = glob(["testdata/**"]),
|
|
embed = [":go_default_library"],
|
|
deps = [
|
|
"//cmd/validator/flags:go_default_library",
|
|
"//config/fieldparams:go_default_library",
|
|
"//config/params:go_default_library",
|
|
"//config/validator/service:go_default_library",
|
|
"//consensus-types/validator:go_default_library",
|
|
"//encoding/bytesutil:go_default_library",
|
|
"//testing/assert:go_default_library",
|
|
"//testing/require:go_default_library",
|
|
"//validator/accounts:go_default_library",
|
|
"//validator/db/iface:go_default_library",
|
|
"//validator/db/testing:go_default_library",
|
|
"//validator/keymanager:go_default_library",
|
|
"//validator/keymanager/remote-web3signer:go_default_library",
|
|
"@com_github_ethereum_go_ethereum//common:go_default_library",
|
|
"@com_github_ethereum_go_ethereum//common/hexutil:go_default_library",
|
|
"@com_github_sirupsen_logrus//hooks/test:go_default_library",
|
|
"@com_github_urfave_cli_v2//:go_default_library",
|
|
],
|
|
)
|
|
|
|
go_library(
|
|
name = "go_default_library",
|
|
srcs = [
|
|
"log.go",
|
|
"node.go",
|
|
],
|
|
importpath = "github.com/prysmaticlabs/prysm/v4/validator/node",
|
|
visibility = [
|
|
"//cmd/validator:__subpackages__",
|
|
"//validator:__subpackages__",
|
|
],
|
|
deps = [
|
|
"//api/gateway:go_default_library",
|
|
"//api/gateway/apimiddleware:go_default_library",
|
|
"//async/event:go_default_library",
|
|
"//cmd:go_default_library",
|
|
"//cmd/validator/flags:go_default_library",
|
|
"//config/features:go_default_library",
|
|
"//config/fieldparams:go_default_library",
|
|
"//config/params:go_default_library",
|
|
"//config/validator/service:go_default_library",
|
|
"//consensus-types/validator:go_default_library",
|
|
"//container/slice:go_default_library",
|
|
"//encoding/bytesutil:go_default_library",
|
|
"//io/file:go_default_library",
|
|
"//monitoring/backup:go_default_library",
|
|
"//monitoring/prometheus:go_default_library",
|
|
"//monitoring/tracing:go_default_library",
|
|
"//proto/eth/service:go_default_library",
|
|
"//proto/prysm/v1alpha1:go_default_library",
|
|
"//proto/prysm/v1alpha1/validator-client:go_default_library",
|
|
"//runtime:go_default_library",
|
|
"//runtime/debug:go_default_library",
|
|
"//runtime/prereqs:go_default_library",
|
|
"//runtime/version:go_default_library",
|
|
"//validator/accounts/wallet:go_default_library",
|
|
"//validator/client:go_default_library",
|
|
"//validator/db/iface:go_default_library",
|
|
"//validator/db/kv:go_default_library",
|
|
"//validator/graffiti:go_default_library",
|
|
"//validator/keymanager/local:go_default_library",
|
|
"//validator/keymanager/remote-web3signer:go_default_library",
|
|
"//validator/rpc:go_default_library",
|
|
"//validator/rpc/apimiddleware:go_default_library",
|
|
"//validator/web:go_default_library",
|
|
"@com_github_ethereum_go_ethereum//common:go_default_library",
|
|
"@com_github_ethereum_go_ethereum//common/hexutil:go_default_library",
|
|
"@com_github_gorilla_mux//:go_default_library",
|
|
"@com_github_grpc_ecosystem_grpc_gateway_v2//runtime:go_default_library",
|
|
"@com_github_pkg_errors//:go_default_library",
|
|
"@com_github_prysmaticlabs_fastssz//:go_default_library",
|
|
"@com_github_sirupsen_logrus//:go_default_library",
|
|
"@com_github_urfave_cli_v2//:go_default_library",
|
|
"@io_k8s_apimachinery//pkg/util/yaml:go_default_library",
|
|
"@org_golang_google_protobuf//encoding/protojson:go_default_library",
|
|
],
|
|
)
|