mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2024-12-25 12:57:18 +00:00
f52f737d2b
* Clean up core epoch for Altair * Update BUILD.bazel * Remove check for spec test * Update validators_test.go * Update validators_test.go * Update beacon-chain/core/altair/epoch_precompute.go Co-authored-by: Radosław Kapka <rkapka@wp.pl> * Update beacon-chain/core/altair/epoch_precompute_test.go Co-authored-by: Radosław Kapka <rkapka@wp.pl> * Update beacon-chain/core/altair/epoch_spec.go Co-authored-by: Preston Van Loon <preston@prysmaticlabs.com> Co-authored-by: Raul Jordan <raul@prysmaticlabs.com> Co-authored-by: Radosław Kapka <rkapka@wp.pl> Co-authored-by: Preston Van Loon <preston@prysmaticlabs.com>
88 lines
3.3 KiB
Python
88 lines
3.3 KiB
Python
load("@prysm//tools/go:def.bzl", "go_library", "go_test")
|
|
|
|
go_library(
|
|
name = "go_default_library",
|
|
srcs = [
|
|
"attestation.go",
|
|
"block.go",
|
|
"deposit.go",
|
|
"epoch_precompute.go",
|
|
"epoch_spec.go",
|
|
"reward.go",
|
|
"sync_committee.go",
|
|
"transition.go",
|
|
"upgrade.go",
|
|
],
|
|
importpath = "github.com/prysmaticlabs/prysm/beacon-chain/core/altair",
|
|
visibility = [
|
|
"//beacon-chain:__subpackages__",
|
|
"//shared/testutil:__pkg__",
|
|
"//testing/spectest:__subpackages__",
|
|
"//validator/client:__pkg__",
|
|
],
|
|
deps = [
|
|
"//beacon-chain/core: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/p2p/types:go_default_library",
|
|
"//beacon-chain/state:go_default_library",
|
|
"//beacon-chain/state/v2:go_default_library",
|
|
"//config/params:go_default_library",
|
|
"//crypto/bls:go_default_library",
|
|
"//crypto/hash:go_default_library",
|
|
"//math:go_default_library",
|
|
"//proto/prysm/v1alpha1:go_default_library",
|
|
"//proto/prysm/v1alpha1/attestation:go_default_library",
|
|
"//proto/prysm/v1alpha1/block:go_default_library",
|
|
"//shared/bytesutil:go_default_library",
|
|
"@com_github_pkg_errors//: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",
|
|
srcs = [
|
|
"attestation_test.go",
|
|
"block_test.go",
|
|
"deposit_fuzz_test.go",
|
|
"deposit_test.go",
|
|
"epoch_precompute_test.go",
|
|
"epoch_spec_test.go",
|
|
"reward_test.go",
|
|
"sync_committee_test.go",
|
|
"transition_test.go",
|
|
"upgrade_test.go",
|
|
],
|
|
embed = [":go_default_library"],
|
|
deps = [
|
|
"//beacon-chain/core: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/p2p/types:go_default_library",
|
|
"//beacon-chain/state:go_default_library",
|
|
"//beacon-chain/state/v2:go_default_library",
|
|
"//config/params:go_default_library",
|
|
"//container/trie:go_default_library",
|
|
"//crypto/bls:go_default_library",
|
|
"//math:go_default_library",
|
|
"//proto/prysm/v1alpha1:go_default_library",
|
|
"//proto/prysm/v1alpha1/attestation:go_default_library",
|
|
"//proto/prysm/v1alpha1/wrapper:go_default_library",
|
|
"//shared/bytesutil:go_default_library",
|
|
"//shared/testutil:go_default_library",
|
|
"//shared/testutil/assert:go_default_library",
|
|
"//shared/testutil/require:go_default_library",
|
|
"//time: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",
|
|
],
|
|
)
|