mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2024-12-25 21:07:18 +00:00
5230af0e0c
* endtoend to testing/ * gaz Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
49 lines
1.7 KiB
Python
49 lines
1.7 KiB
Python
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__",
|
|
"//fuzz:__pkg__",
|
|
"//shared/attestationutil:__pkg__",
|
|
"//shared/depositutil:__pkg__",
|
|
"//shared/interop:__pkg__",
|
|
"//shared/keystore:__pkg__",
|
|
"//shared/p2putils:__pkg__",
|
|
"//shared/testutil:__pkg__",
|
|
"//shared/testutil/altair:__pkg__",
|
|
"//slasher:__subpackages__",
|
|
"//testing/benchmark/benchmark_files:__subpackages__",
|
|
"//testing/endtoend/evaluators:__pkg__",
|
|
"//testing/spectest:__subpackages__",
|
|
"//tools:__subpackages__",
|
|
"//validator:__subpackages__",
|
|
],
|
|
deps = [
|
|
"//beacon-chain/state:go_default_library",
|
|
"//shared/params:go_default_library",
|
|
"//shared/version:go_default_library",
|
|
"//time:go_default_library",
|
|
"@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",
|
|
"//proto/prysm/v1alpha1:go_default_library",
|
|
"//shared/params:go_default_library",
|
|
"//shared/testutil/assert:go_default_library",
|
|
"//shared/testutil/require:go_default_library",
|
|
"//time:go_default_library",
|
|
"@com_github_prysmaticlabs_eth2_types//:go_default_library",
|
|
],
|
|
)
|