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__",
|
|
|
|
"//shared/testutil:__pkg__",
|
2021-08-18 22:01:05 +00:00
|
|
|
"//spectest:__subpackages__",
|
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-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-07-27 19:10:08 +00:00
|
|
|
"//proto/prysm/v1alpha1:go_default_library",
|
2021-08-12 02:58:25 +00:00
|
|
|
"//proto/prysm/v1alpha1/block:go_default_library",
|
2021-08-09 16:35:46 +00:00
|
|
|
"//shared/attestationutil:go_default_library",
|
2021-07-29 23:19:32 +00:00
|
|
|
"//shared/bls:go_default_library",
|
2021-07-27 19:10:08 +00:00
|
|
|
"//shared/bytesutil:go_default_library",
|
2021-07-29 23:19:32 +00:00
|
|
|
"//shared/hashutil:go_default_library",
|
|
|
|
"//shared/mathutil:go_default_library",
|
2021-07-27 19:10:08 +00:00
|
|
|
"//shared/params:go_default_library",
|
|
|
|
"@com_github_pkg_errors//:go_default_library",
|
|
|
|
"@com_github_prysmaticlabs_eth2_types//: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-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-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",
|
|
|
|
"//proto/prysm/v1alpha1:go_default_library",
|
2021-08-12 02:58:25 +00:00
|
|
|
"//proto/prysm/v1alpha1/wrapper:go_default_library",
|
2021-08-09 21:27:51 +00:00
|
|
|
"//shared/attestationutil:go_default_library",
|
2021-07-27 19:10:08 +00:00
|
|
|
"//shared/bls:go_default_library",
|
|
|
|
"//shared/bytesutil:go_default_library",
|
2021-08-09 16:35:46 +00:00
|
|
|
"//shared/mathutil:go_default_library",
|
2021-07-27 19:10:08 +00:00
|
|
|
"//shared/params:go_default_library",
|
|
|
|
"//shared/testutil:go_default_library",
|
2021-08-04 15:13:05 +00:00
|
|
|
"//shared/testutil/assert:go_default_library",
|
2021-07-27 19:10:08 +00:00
|
|
|
"//shared/testutil/require:go_default_library",
|
2021-08-05 04:39:32 +00:00
|
|
|
"//shared/timeutils:go_default_library",
|
2021-07-27 19:10:08 +00:00
|
|
|
"//shared/trieutil:go_default_library",
|
|
|
|
"@com_github_google_gofuzz//:go_default_library",
|
2021-07-29 23:19:32 +00:00
|
|
|
"@com_github_prysmaticlabs_eth2_types//: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
|
|
|
],
|
|
|
|
)
|