mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2024-12-25 04:47:18 +00:00
5c36d59672
* Add altair base reward funcs * Update BUILD.bazel * Better tests * Update BUILD.bazel
54 lines
1.8 KiB
Python
54 lines
1.8 KiB
Python
load("@prysm//tools/go:def.bzl", "go_library", "go_test")
|
|
|
|
go_library(
|
|
name = "go_default_library",
|
|
srcs = [
|
|
"deposit.go",
|
|
"reward.go",
|
|
"sync_committee.go",
|
|
],
|
|
importpath = "github.com/prysmaticlabs/prysm/beacon-chain/core/altair",
|
|
visibility = [
|
|
"//beacon-chain:__subpackages__",
|
|
"//shared/testutil:__pkg__",
|
|
],
|
|
deps = [
|
|
"//beacon-chain/core/blocks:go_default_library",
|
|
"//beacon-chain/core/helpers:go_default_library",
|
|
"//beacon-chain/state:go_default_library",
|
|
"//proto/prysm/v1alpha1:go_default_library",
|
|
"//shared/bls:go_default_library",
|
|
"//shared/bytesutil:go_default_library",
|
|
"//shared/hashutil:go_default_library",
|
|
"//shared/mathutil:go_default_library",
|
|
"//shared/params:go_default_library",
|
|
"@com_github_pkg_errors//:go_default_library",
|
|
"@com_github_prysmaticlabs_eth2_types//:go_default_library",
|
|
],
|
|
)
|
|
|
|
go_test(
|
|
name = "go_default_test",
|
|
srcs = [
|
|
"deposit_fuzz_test.go",
|
|
"deposit_test.go",
|
|
"reward_test.go",
|
|
"sync_committee_test.go",
|
|
],
|
|
deps = [
|
|
":go_default_library",
|
|
"//beacon-chain/core/helpers:go_default_library",
|
|
"//beacon-chain/state:go_default_library",
|
|
"//beacon-chain/state/v2:go_default_library",
|
|
"//proto/prysm/v1alpha1:go_default_library",
|
|
"//shared/bls:go_default_library",
|
|
"//shared/bytesutil:go_default_library",
|
|
"//shared/params:go_default_library",
|
|
"//shared/testutil:go_default_library",
|
|
"//shared/testutil/require:go_default_library",
|
|
"//shared/trieutil:go_default_library",
|
|
"@com_github_google_gofuzz//:go_default_library",
|
|
"@com_github_prysmaticlabs_eth2_types//:go_default_library",
|
|
],
|
|
)
|