mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2024-12-24 20:37:17 +00:00
db687bf56d
* Startinb builder service and interface * Get header from builder * Add get builder block * Single validator registration * Add mev-builder http cli flag * Add method to verify registration signature * Add builder registration * Add submit validator registration * suporting yaml * fix yaml unmarshaling * rolling back some changes from unmarshal from file * adding yaml support * adding register validator support * added new validator requests into client/validator * fixing gofmt * updating flags and including gas limit, unit tests are still broken * fixing bazel * more name changes and fixing unit tests * fixing unit tests and renaming functions * fixing unit tests and renaming to match changes * adding new test for yaml * fixing bazel linter * reverting change on validator service proto * adding clarifying logs * renaming function name to be more descriptive * renaming variable * rolling back some files that will be added from the builder-1 branch * reverting more * more reverting * need placeholder * need placeholder * fixing unit test * fixing unit test * fixing unit test * fixing unit test * fixing more unit tests * fixing more unit tests * rolling back mockgen * fixing bazel * rolling back changes * removing duplicate function * fixing client mock * removing unused type * fixing missing brace * fixing bad field name * fixing bazel * updating naming * fixing bazel * fixing unit test * fixing bazel linting * unhandled err * fixing gofmt * simplifying name based on feedback * using corrected function * moving default fee recipient and gaslimit to beaconconfig * missing a few constant changes * fixing bazel * fixing more missed default renames * fixing more constants in tests * fixing bazel * adding update proposer setting per epoch * refactoring to reduce complexity * adding unit test for proposer settings * Update validator/client/validator.go Co-authored-by: terencechain <terence@prysmaticlabs.com> * trying out renaming based on feedback * adjusting based on review comments * making tests more appropriate * fixing bazel * updating flag description based on review feedback * addressing review feedback * switching to pushing at start of epoch for more time * adding new unit test and properly throwing error * switching keys in error to count * fixing log variable * resolving conflict * resolving more conflicts * adjusting error message Co-authored-by: terence tsao <terence@prysmaticlabs.com> Co-authored-by: Kasey Kirkham <kasey@users.noreply.github.com>
80 lines
3.4 KiB
Python
80 lines
3.4 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",
|
|
"//encoding/bytesutil:go_default_library",
|
|
"//testing/assert:go_default_library",
|
|
"//testing/require:go_default_library",
|
|
"//validator/accounts:go_default_library",
|
|
"//validator/accounts/wallet: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/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",
|
|
"//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/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_grpc_ecosystem_grpc_gateway_v2//runtime:go_default_library",
|
|
"@com_github_pkg_errors//:go_default_library",
|
|
"@com_github_sirupsen_logrus//:go_default_library",
|
|
"@com_github_urfave_cli_v2//:go_default_library",
|
|
"@in_gopkg_yaml_v2//:go_default_library",
|
|
"@org_golang_google_protobuf//encoding/protojson:go_default_library",
|
|
],
|
|
)
|