mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2024-12-25 12:57:18 +00:00
a069738c20
* update shared/params * update eth2-types deps * update protobufs * update shared/* * fix testutil/state * update beacon-chain/state * update beacon-chain/db * update tests * fix test * update beacon-chain/core * update beacon-chain/blockchain * update beacon-chain/cache * beacon-chain/forkchoice * update beacon-chain/operations * update beacon-chain/p2p * update beacon-chain/rpc * update sync/initial-sync * update deps * update deps * go fmt * update beacon-chain/sync * update endtoend/ * bazel build //beacon-chain - works w/o issues * update slasher code * udpate tools/ * update validator/ * update fastssz * fix build * fix test building * update tests * update ethereumapis deps * fix tests * update state/stategen * fix build * fix test * add FarFutureSlot * go imports * Radek's suggestions * Ivan's suggestions * type conversions * Nishant's suggestions * add more tests to rpc_send_request * fix test * clean up * fix conflicts Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com> Co-authored-by: nisdas <nishdas93@gmail.com>
79 lines
2.8 KiB
Python
79 lines
2.8 KiB
Python
load("@prysm//tools/go:def.bzl", "go_library")
|
|
load("@io_bazel_rules_go//go:def.bzl", "go_test")
|
|
|
|
# gazelle:ignore committee_disabled.go
|
|
# gazelle:ignore proposer_indices_disabled.go
|
|
go_library(
|
|
name = "go_default_library",
|
|
srcs = [
|
|
"attestation_data.go",
|
|
"checkpoint_state.go",
|
|
"committees.go",
|
|
"common.go",
|
|
"doc.go",
|
|
"skip_slot_cache.go",
|
|
"subnet_ids.go",
|
|
"proposer_indices_type.go",
|
|
] + select({
|
|
"//fuzz:fuzzing_enabled": [
|
|
"committee_disabled.go",
|
|
"proposer_indices_disabled.go"
|
|
],
|
|
"//conditions:default": [
|
|
"committee.go",
|
|
"proposer_indices.go",
|
|
],
|
|
}),
|
|
importpath = "github.com/prysmaticlabs/prysm/beacon-chain/cache",
|
|
visibility = [
|
|
"//beacon-chain:__subpackages__",
|
|
"//fuzz:__pkg__",
|
|
"//tools:__subpackages__",
|
|
],
|
|
deps = [
|
|
"//beacon-chain/state:go_default_library",
|
|
"//proto/beacon/p2p/v1:go_default_library",
|
|
"//shared/featureconfig:go_default_library",
|
|
"//shared/hashutil:go_default_library",
|
|
"//shared/params:go_default_library",
|
|
"//shared/sliceutil:go_default_library",
|
|
"@com_github_hashicorp_golang_lru//:go_default_library",
|
|
"@com_github_patrickmn_go_cache//: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_eth2_types//:go_default_library",
|
|
"@com_github_prysmaticlabs_ethereumapis//eth/v1alpha1:go_default_library",
|
|
"@io_k8s_client_go//tools/cache:go_default_library",
|
|
"@io_opencensus_go//trace:go_default_library",
|
|
],
|
|
)
|
|
|
|
go_test(
|
|
name = "go_default_test",
|
|
size = "small",
|
|
srcs = [
|
|
"attestation_data_test.go",
|
|
"checkpoint_state_test.go",
|
|
"committee_fuzz_test.go",
|
|
"committee_test.go",
|
|
"cache_test.go",
|
|
"skip_slot_cache_test.go",
|
|
"subnet_ids_test.go",
|
|
"proposer_indices_test.go"
|
|
],
|
|
embed = [":go_default_library"],
|
|
deps = [
|
|
"//beacon-chain/state:go_default_library",
|
|
"//proto/beacon/p2p/v1:go_default_library",
|
|
"//shared/bytesutil:go_default_library",
|
|
"//shared/featureconfig:go_default_library",
|
|
"//shared/params:go_default_library",
|
|
"//shared/testutil/assert:go_default_library",
|
|
"//shared/testutil/require:go_default_library",
|
|
"@com_github_gogo_protobuf//proto:go_default_library",
|
|
"@com_github_google_gofuzz//:go_default_library",
|
|
"@com_github_prysmaticlabs_eth2_types//:go_default_library",
|
|
"@com_github_prysmaticlabs_ethereumapis//eth/v1alpha1:go_default_library",
|
|
],
|
|
)
|