mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2024-12-25 21:07:18 +00:00
6715f10ffc
* Add canUseBuilder helper method * Fix build * Go fmt * Check circuit breaker first
211 lines
9.2 KiB
Python
211 lines
9.2 KiB
Python
load("@prysm//tools/go:def.bzl", "go_library", "go_test")
|
|
|
|
go_library(
|
|
name = "go_default_library",
|
|
srcs = [
|
|
"aggregator.go",
|
|
"assignments.go",
|
|
"attester.go",
|
|
"blocks.go",
|
|
"exit.go",
|
|
"log.go",
|
|
"proposer.go",
|
|
"proposer_altair.go",
|
|
"proposer_attestations.go",
|
|
"proposer_bellatrix.go",
|
|
"proposer_builder.go",
|
|
"proposer_deposits.go",
|
|
"proposer_empty_block.go",
|
|
"proposer_eth1data.go",
|
|
"proposer_execution_payload.go",
|
|
"proposer_exists.go",
|
|
"proposer_phase0.go",
|
|
"proposer_slashings.go",
|
|
"proposer_sync_aggregate.go",
|
|
"server.go",
|
|
"status.go",
|
|
"sync_committee.go",
|
|
],
|
|
importpath = "github.com/prysmaticlabs/prysm/v3/beacon-chain/rpc/prysm/v1alpha1/validator",
|
|
visibility = ["//beacon-chain:__subpackages__"],
|
|
deps = [
|
|
"//async/event:go_default_library",
|
|
"//beacon-chain/blockchain:go_default_library",
|
|
"//beacon-chain/builder:go_default_library",
|
|
"//beacon-chain/cache:go_default_library",
|
|
"//beacon-chain/cache/depositcache:go_default_library",
|
|
"//beacon-chain/core/altair:go_default_library",
|
|
"//beacon-chain/core/blocks:go_default_library",
|
|
"//beacon-chain/core/feed:go_default_library",
|
|
"//beacon-chain/core/feed/block:go_default_library",
|
|
"//beacon-chain/core/feed/operation:go_default_library",
|
|
"//beacon-chain/core/feed/state:go_default_library",
|
|
"//beacon-chain/core/helpers: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/core/transition/interop:go_default_library",
|
|
"//beacon-chain/core/validators:go_default_library",
|
|
"//beacon-chain/db:go_default_library",
|
|
"//beacon-chain/db/kv:go_default_library",
|
|
"//beacon-chain/execution:go_default_library",
|
|
"//beacon-chain/operations/attestations: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:go_default_library",
|
|
"//beacon-chain/state:go_default_library",
|
|
"//beacon-chain/state/stategen:go_default_library",
|
|
"//beacon-chain/sync:go_default_library",
|
|
"//config/features:go_default_library",
|
|
"//config/fieldparams:go_default_library",
|
|
"//config/params:go_default_library",
|
|
"//consensus-types/blocks:go_default_library",
|
|
"//consensus-types/interfaces:go_default_library",
|
|
"//consensus-types/payload-attribute:go_default_library",
|
|
"//consensus-types/primitives:go_default_library",
|
|
"//container/trie:go_default_library",
|
|
"//contracts/deposit:go_default_library",
|
|
"//crypto/bls:go_default_library",
|
|
"//crypto/hash:go_default_library",
|
|
"//crypto/rand:go_default_library",
|
|
"//encoding/bytesutil:go_default_library",
|
|
"//encoding/ssz:go_default_library",
|
|
"//monitoring/tracing:go_default_library",
|
|
"//network/forks:go_default_library",
|
|
"//proto/engine/v1:go_default_library",
|
|
"//proto/eth/v1:go_default_library",
|
|
"//proto/prysm/v1alpha1:go_default_library",
|
|
"//proto/prysm/v1alpha1/attestation/aggregation:go_default_library",
|
|
"//proto/prysm/v1alpha1/attestation/aggregation/attestations:go_default_library",
|
|
"//proto/prysm/v1alpha1/attestation/aggregation/sync_contribution:go_default_library",
|
|
"//runtime/version:go_default_library",
|
|
"//time: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_prometheus_client_golang//prometheus:go_default_library",
|
|
"@com_github_prometheus_client_golang//prometheus/promauto:go_default_library",
|
|
"@com_github_prysmaticlabs_fastssz//:go_default_library",
|
|
"@com_github_prysmaticlabs_go_bitfield//: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",
|
|
"@org_golang_x_sync//errgroup:go_default_library",
|
|
],
|
|
)
|
|
|
|
common_deps = [
|
|
"//async/event:go_default_library",
|
|
"//beacon-chain/blockchain/testing:go_default_library",
|
|
"//beacon-chain/builder:go_default_library",
|
|
"//beacon-chain/builder/testing:go_default_library",
|
|
"//beacon-chain/cache:go_default_library",
|
|
"//beacon-chain/cache/depositcache:go_default_library",
|
|
"//beacon-chain/core/altair:go_default_library",
|
|
"//beacon-chain/core/blocks:go_default_library",
|
|
"//beacon-chain/core/execution:go_default_library",
|
|
"//beacon-chain/core/feed:go_default_library",
|
|
"//beacon-chain/core/feed/block:go_default_library",
|
|
"//beacon-chain/core/feed/operation:go_default_library",
|
|
"//beacon-chain/core/feed/state:go_default_library",
|
|
"//beacon-chain/core/helpers: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/execution/testing:go_default_library",
|
|
"//beacon-chain/forkchoice/doubly-linked-tree:go_default_library",
|
|
"//beacon-chain/operations/attestations: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/state:go_default_library",
|
|
"//beacon-chain/state/state-native:go_default_library",
|
|
"//beacon-chain/state/stategen:go_default_library",
|
|
"//beacon-chain/state/stategen/mock:go_default_library",
|
|
"//beacon-chain/sync/initial-sync/testing:go_default_library",
|
|
"//config/fieldparams:go_default_library",
|
|
"//config/params:go_default_library",
|
|
"//consensus-types/blocks:go_default_library",
|
|
"//consensus-types/interfaces:go_default_library",
|
|
"//consensus-types/primitives:go_default_library",
|
|
"//container/trie:go_default_library",
|
|
"//crypto/bls:go_default_library",
|
|
"//encoding/bytesutil:go_default_library",
|
|
"//encoding/ssz:go_default_library",
|
|
"//proto/engine/v1:go_default_library",
|
|
"//proto/eth/v1:go_default_library",
|
|
"//proto/prysm/v1alpha1:go_default_library",
|
|
"//proto/prysm/v1alpha1/attestation:go_default_library",
|
|
"//proto/prysm/v1alpha1/attestation/aggregation/attestations:go_default_library",
|
|
"//testing/assert:go_default_library",
|
|
"//testing/mock:go_default_library",
|
|
"//testing/require:go_default_library",
|
|
"//testing/util:go_default_library",
|
|
"//time:go_default_library",
|
|
"//time/slots:go_default_library",
|
|
"@com_github_d4l3k_messagediff//:go_default_library",
|
|
"@com_github_ethereum_go_ethereum//common:go_default_library",
|
|
"@com_github_ethereum_go_ethereum//core/types:go_default_library",
|
|
"@com_github_golang_mock//gomock:go_default_library",
|
|
"@com_github_pkg_errors//:go_default_library",
|
|
"@com_github_prysmaticlabs_go_bitfield//:go_default_library",
|
|
"@com_github_sirupsen_logrus//:go_default_library",
|
|
"@com_github_sirupsen_logrus//hooks/test:go_default_library",
|
|
"@org_golang_google_grpc//codes:go_default_library",
|
|
"@org_golang_google_grpc//status:go_default_library",
|
|
"@org_golang_google_protobuf//proto:go_default_library",
|
|
"@org_golang_google_protobuf//types/known/emptypb:go_default_library",
|
|
]
|
|
|
|
# gazelle:ignore
|
|
go_test(
|
|
name = "go_default_test",
|
|
timeout = "moderate",
|
|
srcs = [
|
|
"aggregator_test.go",
|
|
"assignments_test.go",
|
|
"attester_test.go",
|
|
"blocks_test.go",
|
|
"exit_test.go",
|
|
"proposer_attestations_test.go",
|
|
"proposer_bellatrix_test.go",
|
|
"proposer_builder_test.go",
|
|
"proposer_deposits_test.go",
|
|
"proposer_empty_block_test.go",
|
|
"proposer_execution_payload_test.go",
|
|
"proposer_exists_test.go",
|
|
"proposer_slashings_test.go",
|
|
"proposer_sync_aggregate_test.go",
|
|
"proposer_test.go",
|
|
"server_mainnet_test.go",
|
|
"server_test.go",
|
|
"status_mainnet_test.go",
|
|
"status_test.go",
|
|
"sync_committee_test.go",
|
|
"validator_test.go",
|
|
],
|
|
embed = [":go_default_library"],
|
|
eth_network = "minimal",
|
|
tags = ["minimal"],
|
|
deps = common_deps,
|
|
)
|
|
|
|
go_test(
|
|
name = "go_mainnet_test",
|
|
timeout = "moderate",
|
|
srcs = [
|
|
"attester_mainnet_test.go",
|
|
"server_mainnet_test.go",
|
|
"status_mainnet_test.go",
|
|
],
|
|
embed = [":go_default_library"],
|
|
deps = common_deps,
|
|
)
|