2021-09-03 20:10:31 +00:00
|
|
|
load("@prysm//tools/go:def.bzl", "go_library", "go_test")
|
|
|
|
|
|
|
|
go_library(
|
|
|
|
name = "go_default_library",
|
|
|
|
srcs = ["slot_epoch.go"],
|
|
|
|
importpath = "github.com/prysmaticlabs/prysm/beacon-chain/core",
|
|
|
|
visibility = [
|
|
|
|
"//beacon-chain:__subpackages__",
|
2021-09-22 17:27:13 +00:00
|
|
|
"//contracts/deposit:__pkg__",
|
2021-09-20 16:17:03 +00:00
|
|
|
"//fuzz:__pkg__",
|
2021-09-17 19:20:50 +00:00
|
|
|
"//network/forks:__pkg__",
|
2021-09-20 16:17:03 +00:00
|
|
|
"//proto/prysm/v1alpha1/attestation:__pkg__",
|
2021-09-21 18:11:16 +00:00
|
|
|
"//runtime/interop:__pkg__",
|
2021-09-03 20:10:31 +00:00
|
|
|
"//shared/attestationutil:__pkg__",
|
|
|
|
"//shared/keystore:__pkg__",
|
|
|
|
"//slasher:__subpackages__",
|
2021-09-23 18:53:46 +00:00
|
|
|
"//testing/altair:__pkg__",
|
2021-09-14 19:18:15 +00:00
|
|
|
"//testing/benchmark/benchmark_files:__subpackages__",
|
2021-09-15 14:42:05 +00:00
|
|
|
"//testing/endtoend/evaluators:__pkg__",
|
2021-09-16 17:32:51 +00:00
|
|
|
"//testing/fuzz:__pkg__",
|
2021-09-14 16:02:58 +00:00
|
|
|
"//testing/spectest:__subpackages__",
|
2021-09-23 18:53:46 +00:00
|
|
|
"//testing/util:__pkg__",
|
2021-09-03 20:10:31 +00:00
|
|
|
"//tools:__subpackages__",
|
|
|
|
"//validator:__subpackages__",
|
|
|
|
],
|
|
|
|
deps = [
|
|
|
|
"//beacon-chain/state:go_default_library",
|
2021-09-21 19:59:25 +00:00
|
|
|
"//config/params:go_default_library",
|
2021-09-16 09:46:29 +00:00
|
|
|
"//runtime/version:go_default_library",
|
2021-09-15 00:09:04 +00:00
|
|
|
"//time:go_default_library",
|
2021-09-03 20:10:31 +00:00
|
|
|
"@com_github_ethereum_go_ethereum//common/math: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 = ["slot_epoch_test.go"],
|
|
|
|
embed = [":go_default_library"],
|
|
|
|
deps = [
|
|
|
|
"//beacon-chain/state/v1:go_default_library",
|
2021-09-21 19:59:25 +00:00
|
|
|
"//config/params:go_default_library",
|
2021-09-03 20:10:31 +00:00
|
|
|
"//proto/prysm/v1alpha1:go_default_library",
|
2021-09-23 18:53:46 +00:00
|
|
|
"//testing/assert:go_default_library",
|
|
|
|
"//testing/require:go_default_library",
|
2021-09-15 00:09:04 +00:00
|
|
|
"//time:go_default_library",
|
2021-09-03 20:10:31 +00:00
|
|
|
"@com_github_prysmaticlabs_eth2_types//:go_default_library",
|
|
|
|
],
|
|
|
|
)
|