2021-07-27 19:10:08 +00:00
|
|
|
load("@prysm//tools/go:def.bzl", "go_library", "go_test")
|
|
|
|
|
|
|
|
go_library(
|
|
|
|
name = "go_default_library",
|
2021-07-29 23:19:32 +00:00
|
|
|
srcs = [
|
2021-08-04 15:13:05 +00:00
|
|
|
"attestation.go",
|
2021-08-03 16:14:15 +00:00
|
|
|
"block.go",
|
2021-07-29 23:19:32 +00:00
|
|
|
"deposit.go",
|
2021-08-04 15:13:05 +00:00
|
|
|
"epoch_precompute.go",
|
2021-08-20 23:55:42 +00:00
|
|
|
"epoch_spec.go",
|
2021-07-30 19:17:20 +00:00
|
|
|
"reward.go",
|
2021-07-29 23:19:32 +00:00
|
|
|
"sync_committee.go",
|
2021-08-24 16:07:11 +00:00
|
|
|
"transition.go",
|
2021-08-09 21:27:51 +00:00
|
|
|
"upgrade.go",
|
2021-07-29 23:19:32 +00:00
|
|
|
],
|
2021-07-27 19:10:08 +00:00
|
|
|
importpath = "github.com/prysmaticlabs/prysm/beacon-chain/core/altair",
|
2021-07-28 17:15:23 +00:00
|
|
|
visibility = [
|
|
|
|
"//beacon-chain:__subpackages__",
|
2022-05-09 01:44:47 +00:00
|
|
|
"//testing/endtoend/evaluators:__subpackages__",
|
2021-09-14 16:02:58 +00:00
|
|
|
"//testing/spectest:__subpackages__",
|
2021-09-23 18:53:46 +00:00
|
|
|
"//testing/util:__pkg__",
|
2021-08-24 17:33:42 +00:00
|
|
|
"//validator/client:__pkg__",
|
2021-07-28 17:15:23 +00:00
|
|
|
],
|
2021-07-27 19:10:08 +00:00
|
|
|
deps = [
|
|
|
|
"//beacon-chain/core/blocks:go_default_library",
|
2021-08-24 16:07:11 +00:00
|
|
|
"//beacon-chain/core/epoch:go_default_library",
|
2021-08-04 15:13:05 +00:00
|
|
|
"//beacon-chain/core/epoch/precompute:go_default_library",
|
2021-07-29 23:19:32 +00:00
|
|
|
"//beacon-chain/core/helpers:go_default_library",
|
2021-09-27 16:19:20 +00:00
|
|
|
"//beacon-chain/core/signing:go_default_library",
|
2021-09-30 19:00:14 +00:00
|
|
|
"//beacon-chain/core/time:go_default_library",
|
2021-08-03 16:14:15 +00:00
|
|
|
"//beacon-chain/p2p/types:go_default_library",
|
2021-07-27 19:10:08 +00:00
|
|
|
"//beacon-chain/state:go_default_library",
|
2021-08-09 21:27:51 +00:00
|
|
|
"//beacon-chain/state/v2:go_default_library",
|
2021-12-15 20:14:30 +00:00
|
|
|
"//config/fieldparams:go_default_library",
|
2021-09-21 19:59:25 +00:00
|
|
|
"//config/params:go_default_library",
|
2022-05-02 18:32:37 +00:00
|
|
|
"//consensus-types/interfaces:go_default_library",
|
2022-04-29 14:32:11 +00:00
|
|
|
"//consensus-types/primitives:go_default_library",
|
2022-05-20 23:29:16 +00:00
|
|
|
"//consensus-types/wrapper:go_default_library",
|
2021-09-15 22:55:11 +00:00
|
|
|
"//crypto/bls:go_default_library",
|
|
|
|
"//crypto/hash:go_default_library",
|
2021-09-23 15:23:37 +00:00
|
|
|
"//encoding/bytesutil:go_default_library",
|
2021-09-17 21:55:24 +00:00
|
|
|
"//math:go_default_library",
|
2021-07-27 19:10:08 +00:00
|
|
|
"//proto/prysm/v1alpha1:go_default_library",
|
2021-09-20 16:17:03 +00:00
|
|
|
"//proto/prysm/v1alpha1/attestation:go_default_library",
|
2021-10-01 20:17:57 +00:00
|
|
|
"//time/slots:go_default_library",
|
2021-07-27 19:10:08 +00:00
|
|
|
"@com_github_pkg_errors//:go_default_library",
|
2021-09-22 15:07:05 +00:00
|
|
|
"@com_github_sirupsen_logrus//:go_default_library",
|
2021-08-04 15:13:05 +00:00
|
|
|
"@io_opencensus_go//trace:go_default_library",
|
2021-07-27 19:10:08 +00:00
|
|
|
],
|
|
|
|
)
|
|
|
|
|
|
|
|
go_test(
|
|
|
|
name = "go_default_test",
|
|
|
|
srcs = [
|
2021-08-04 15:13:05 +00:00
|
|
|
"attestation_test.go",
|
2021-08-03 16:14:15 +00:00
|
|
|
"block_test.go",
|
2021-07-27 19:10:08 +00:00
|
|
|
"deposit_fuzz_test.go",
|
|
|
|
"deposit_test.go",
|
2021-08-04 15:13:05 +00:00
|
|
|
"epoch_precompute_test.go",
|
2021-08-20 23:55:42 +00:00
|
|
|
"epoch_spec_test.go",
|
2021-07-30 19:17:20 +00:00
|
|
|
"reward_test.go",
|
2021-07-29 23:19:32 +00:00
|
|
|
"sync_committee_test.go",
|
2021-08-24 16:07:11 +00:00
|
|
|
"transition_test.go",
|
2021-08-09 21:27:51 +00:00
|
|
|
"upgrade_test.go",
|
2021-07-27 19:10:08 +00:00
|
|
|
],
|
2021-08-04 15:13:05 +00:00
|
|
|
embed = [":go_default_library"],
|
2021-07-27 19:10:08 +00:00
|
|
|
deps = [
|
2021-09-10 15:57:16 +00:00
|
|
|
"//beacon-chain/core/epoch:go_default_library",
|
2021-08-04 15:13:05 +00:00
|
|
|
"//beacon-chain/core/epoch/precompute:go_default_library",
|
2021-07-27 19:10:08 +00:00
|
|
|
"//beacon-chain/core/helpers:go_default_library",
|
2021-09-27 16:19:20 +00:00
|
|
|
"//beacon-chain/core/signing:go_default_library",
|
2021-09-30 19:00:14 +00:00
|
|
|
"//beacon-chain/core/time:go_default_library",
|
2021-08-03 16:14:15 +00:00
|
|
|
"//beacon-chain/p2p/types:go_default_library",
|
2021-07-30 19:17:20 +00:00
|
|
|
"//beacon-chain/state:go_default_library",
|
2021-07-27 19:10:08 +00:00
|
|
|
"//beacon-chain/state/v2:go_default_library",
|
2021-12-08 19:02:53 +00:00
|
|
|
"//beacon-chain/state/v3:go_default_library",
|
2021-12-14 18:42:05 +00:00
|
|
|
"//config/fieldparams:go_default_library",
|
2021-09-21 19:59:25 +00:00
|
|
|
"//config/params:go_default_library",
|
2022-04-29 14:32:11 +00:00
|
|
|
"//consensus-types/primitives:go_default_library",
|
2022-05-02 15:43:40 +00:00
|
|
|
"//consensus-types/wrapper:go_default_library",
|
2021-09-16 17:05:58 +00:00
|
|
|
"//container/trie:go_default_library",
|
2021-09-15 22:55:11 +00:00
|
|
|
"//crypto/bls:go_default_library",
|
2021-09-23 15:23:37 +00:00
|
|
|
"//encoding/bytesutil:go_default_library",
|
2021-09-17 21:55:24 +00:00
|
|
|
"//math:go_default_library",
|
2021-07-27 19:10:08 +00:00
|
|
|
"//proto/prysm/v1alpha1:go_default_library",
|
2021-09-20 16:17:03 +00:00
|
|
|
"//proto/prysm/v1alpha1/attestation:go_default_library",
|
2021-09-23 18:53:46 +00:00
|
|
|
"//testing/assert:go_default_library",
|
|
|
|
"//testing/require:go_default_library",
|
|
|
|
"//testing/util:go_default_library",
|
2021-09-15 00:09:04 +00:00
|
|
|
"//time:go_default_library",
|
2021-10-01 20:17:57 +00:00
|
|
|
"//time/slots:go_default_library",
|
2021-07-27 19:10:08 +00:00
|
|
|
"@com_github_google_gofuzz//:go_default_library",
|
2021-08-03 16:14:15 +00:00
|
|
|
"@com_github_prysmaticlabs_go_bitfield//:go_default_library",
|
2021-08-20 23:55:42 +00:00
|
|
|
"@org_golang_google_protobuf//proto:go_default_library",
|
2021-07-27 19:10:08 +00:00
|
|
|
],
|
|
|
|
)
|