mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2024-12-27 05:38:55 +00:00
2b6e86ec1b
* extract DeterministicGenesisStateWithGenesisBlock (cherry picked from commit a5e3a9c9bbbacb23a644f5c68c92839a315f66a1) # Conflicts: # testing/util/state.go * part 1 * part 2 * part 3 * fix errors * db interface public visibility Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
90 lines
4.3 KiB
Python
90 lines
4.3 KiB
Python
load("@prysm//tools/go:def.bzl", "go_library", "go_test")
|
|
|
|
go_library(
|
|
name = "go_default_library",
|
|
srcs = [
|
|
"server.go",
|
|
"validator.go",
|
|
],
|
|
importpath = "github.com/prysmaticlabs/prysm/beacon-chain/rpc/eth/validator",
|
|
visibility = ["//beacon-chain:__subpackages__"],
|
|
deps = [
|
|
"//beacon-chain/blockchain:go_default_library",
|
|
"//beacon-chain/cache:go_default_library",
|
|
"//beacon-chain/core/helpers:go_default_library",
|
|
"//beacon-chain/core/transition:go_default_library",
|
|
"//beacon-chain/operations/attestations:go_default_library",
|
|
"//beacon-chain/operations/synccommittee:go_default_library",
|
|
"//beacon-chain/p2p:go_default_library",
|
|
"//beacon-chain/rpc/eth/helpers:go_default_library",
|
|
"//beacon-chain/rpc/prysm/v1alpha1/validator:go_default_library",
|
|
"//beacon-chain/rpc/statefetcher:go_default_library",
|
|
"//beacon-chain/state:go_default_library",
|
|
"//beacon-chain/state/v1:go_default_library",
|
|
"//beacon-chain/sync:go_default_library",
|
|
"//config/fieldparams:go_default_library",
|
|
"//config/params:go_default_library",
|
|
"//consensus-types/primitives:go_default_library",
|
|
"//encoding/bytesutil:go_default_library",
|
|
"//proto/eth/v1:go_default_library",
|
|
"//proto/eth/v2:go_default_library",
|
|
"//proto/migration:go_default_library",
|
|
"//proto/prysm/v1alpha1:go_default_library",
|
|
"//time/slots: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",
|
|
"@com_github_sirupsen_logrus//:go_default_library",
|
|
"@io_bazel_rules_go//proto/wkt:empty_go_proto",
|
|
"@io_opencensus_go//trace:go_default_library",
|
|
"@org_golang_google_grpc//codes:go_default_library",
|
|
"@org_golang_google_grpc//status:go_default_library",
|
|
"@org_golang_google_protobuf//types/known/emptypb:go_default_library",
|
|
],
|
|
)
|
|
|
|
go_test(
|
|
name = "go_default_test",
|
|
srcs = ["validator_test.go"],
|
|
embed = [":go_default_library"],
|
|
deps = [
|
|
"//beacon-chain/blockchain/testing:go_default_library",
|
|
"//beacon-chain/cache:go_default_library",
|
|
"//beacon-chain/core/altair:go_default_library",
|
|
"//beacon-chain/core/signing:go_default_library",
|
|
"//beacon-chain/core/time:go_default_library",
|
|
"//beacon-chain/core/transition:go_default_library",
|
|
"//beacon-chain/db/testing:go_default_library",
|
|
"//beacon-chain/operations/attestations:go_default_library",
|
|
"//beacon-chain/operations/attestations/mock:go_default_library",
|
|
"//beacon-chain/operations/slashings:go_default_library",
|
|
"//beacon-chain/operations/synccommittee:go_default_library",
|
|
"//beacon-chain/operations/voluntaryexits:go_default_library",
|
|
"//beacon-chain/p2p/testing:go_default_library",
|
|
"//beacon-chain/p2p/types:go_default_library",
|
|
"//beacon-chain/powchain/testing:go_default_library",
|
|
"//beacon-chain/rpc/prysm/v1alpha1/validator:go_default_library",
|
|
"//beacon-chain/rpc/testutil:go_default_library",
|
|
"//beacon-chain/state:go_default_library",
|
|
"//beacon-chain/state/stategen:go_default_library",
|
|
"//beacon-chain/sync/initial-sync/testing:go_default_library",
|
|
"//config/fieldparams:go_default_library",
|
|
"//config/params:go_default_library",
|
|
"//consensus-types/primitives:go_default_library",
|
|
"//crypto/bls:go_default_library",
|
|
"//encoding/bytesutil:go_default_library",
|
|
"//proto/engine/v1:go_default_library",
|
|
"//proto/eth/v1:go_default_library",
|
|
"//proto/eth/v2:go_default_library",
|
|
"//proto/migration:go_default_library",
|
|
"//proto/prysm/v1alpha1:go_default_library",
|
|
"//testing/assert:go_default_library",
|
|
"//testing/require:go_default_library",
|
|
"//testing/util:go_default_library",
|
|
"//time/slots:go_default_library",
|
|
"@com_github_ethereum_go_ethereum//common:go_default_library",
|
|
"@com_github_prysmaticlabs_go_bitfield//:go_default_library",
|
|
"@org_golang_google_protobuf//proto:go_default_library",
|
|
],
|
|
)
|