mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2024-12-28 14:17:17 +00:00
ee0a453b7b
* Move domain function and all signing root functions from beacon-chain/core/helpers to beacon-chain/core * @terencechain suggestion to put these methods under core/signing
132 lines
4.9 KiB
Python
132 lines
4.9 KiB
Python
load("@prysm//tools/go:def.bzl", "go_library", "go_test")
|
|
|
|
# gazelle:exclude testdata
|
|
|
|
go_library(
|
|
name = "go_default_library",
|
|
srcs = [
|
|
"log.go",
|
|
"skip_slot_cache.go",
|
|
"state.go",
|
|
"trailing_slot_state_cache.go",
|
|
"transition.go",
|
|
"transition_no_verify_sig.go",
|
|
],
|
|
importpath = "github.com/prysmaticlabs/prysm/beacon-chain/core/transition",
|
|
visibility = [
|
|
"//beacon-chain:__subpackages__",
|
|
"//runtime/interop:__pkg__",
|
|
"//testing/endtoend:__pkg__",
|
|
"//testing/fuzz:__pkg__",
|
|
"//testing/spectest:__subpackages__",
|
|
"//testing/util:__pkg__",
|
|
"//tools/benchmark-files-gen:__pkg__",
|
|
"//tools/genesis-state-gen:__pkg__",
|
|
"//tools/pcli:__pkg__",
|
|
],
|
|
deps = [
|
|
"//beacon-chain/cache:go_default_library",
|
|
"//beacon-chain/core:go_default_library",
|
|
"//beacon-chain/core/altair:go_default_library",
|
|
"//beacon-chain/core/blocks:go_default_library",
|
|
"//beacon-chain/core/epoch:go_default_library",
|
|
"//beacon-chain/core/epoch/precompute:go_default_library",
|
|
"//beacon-chain/core/helpers:go_default_library",
|
|
"//beacon-chain/core/transition/interop:go_default_library",
|
|
"//beacon-chain/core/validators:go_default_library",
|
|
"//beacon-chain/state:go_default_library",
|
|
"//beacon-chain/state/v1:go_default_library",
|
|
"//config/features:go_default_library",
|
|
"//config/params:go_default_library",
|
|
"//crypto/bls:go_default_library",
|
|
"//crypto/hash:go_default_library",
|
|
"//encoding/bytesutil:go_default_library",
|
|
"//math:go_default_library",
|
|
"//monitoring/tracing:go_default_library",
|
|
"//proto/prysm/v1alpha1:go_default_library",
|
|
"//proto/prysm/v1alpha1/block:go_default_library",
|
|
"//runtime/version: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_eth2_types//:go_default_library",
|
|
"@com_github_sirupsen_logrus//:go_default_library",
|
|
"@io_opencensus_go//trace:go_default_library",
|
|
],
|
|
)
|
|
|
|
go_test(
|
|
name = "go_default_test",
|
|
size = "small",
|
|
srcs = [
|
|
"altair_transition_no_verify_sig_test.go",
|
|
"benchmarks_test.go",
|
|
"skip_slot_cache_test.go",
|
|
"state_fuzz_test.go",
|
|
"state_test.go",
|
|
"trailing_slot_state_cache_test.go",
|
|
"transition_fuzz_test.go",
|
|
"transition_no_verify_sig_test.go",
|
|
"transition_test.go",
|
|
],
|
|
data = [
|
|
"//testing/benchmark/benchmark_files:benchmark_data",
|
|
],
|
|
embed = [":go_default_library"],
|
|
shard_count = 3,
|
|
deps = [
|
|
"//beacon-chain/core:go_default_library",
|
|
"//beacon-chain/core/altair:go_default_library",
|
|
"//beacon-chain/core/blocks:go_default_library",
|
|
"//beacon-chain/core/helpers:go_default_library",
|
|
"//beacon-chain/core/signing:go_default_library",
|
|
"//beacon-chain/p2p/types:go_default_library",
|
|
"//beacon-chain/state:go_default_library",
|
|
"//beacon-chain/state/v1:go_default_library",
|
|
"//config/params:go_default_library",
|
|
"//crypto/bls:go_default_library",
|
|
"//crypto/hash:go_default_library",
|
|
"//encoding/bytesutil:go_default_library",
|
|
"//proto/prysm/v1alpha1:go_default_library",
|
|
"//proto/prysm/v1alpha1/attestation:go_default_library",
|
|
"//proto/prysm/v1alpha1/wrapper:go_default_library",
|
|
"//runtime/version:go_default_library",
|
|
"//testing/assert:go_default_library",
|
|
"//testing/benchmark:go_default_library",
|
|
"//testing/require:go_default_library",
|
|
"//testing/util:go_default_library",
|
|
"@com_github_google_gofuzz//:go_default_library",
|
|
"@com_github_prysmaticlabs_eth2_types//:go_default_library",
|
|
"@com_github_prysmaticlabs_go_bitfield//:go_default_library",
|
|
"@org_golang_google_protobuf//proto:go_default_library",
|
|
],
|
|
)
|
|
|
|
go_test(
|
|
name = "go_benchmark_test",
|
|
size = "large",
|
|
srcs = ["benchmarks_test.go"],
|
|
args = [
|
|
"-test.bench=.",
|
|
"-test.benchmem",
|
|
"-test.v",
|
|
],
|
|
local = True,
|
|
tags = [
|
|
"benchmark",
|
|
"manual",
|
|
"no-cache",
|
|
],
|
|
deps = [
|
|
"//beacon-chain/core/blocks:go_default_library",
|
|
"//beacon-chain/core/helpers:go_default_library",
|
|
"//beacon-chain/core/transition:go_default_library",
|
|
"//beacon-chain/state/v1:go_default_library",
|
|
"//config/params:go_default_library",
|
|
"//proto/prysm/v1alpha1:go_default_library",
|
|
"//testing/benchmark:go_default_library",
|
|
"//testing/require:go_default_library",
|
|
"@org_golang_google_protobuf//proto:go_default_library",
|
|
],
|
|
)
|