2021-06-30 19:22:09 +00:00
|
|
|
load("@prysm//tools/go:def.bzl", "go_library", "go_test")
|
2018-07-07 17:23:19 +00:00
|
|
|
|
|
|
|
go_library(
|
|
|
|
name = "go_default_library",
|
2020-04-16 22:21:44 +00:00
|
|
|
srcs = [
|
|
|
|
"config.go",
|
2021-01-04 20:48:39 +00:00
|
|
|
"config_utils_develop.go", # keep
|
|
|
|
"config_utils_prod.go",
|
2022-05-20 07:16:53 +00:00
|
|
|
"configset.go",
|
|
|
|
"init.go",
|
|
|
|
"interop.go",
|
2020-06-25 16:12:59 +00:00
|
|
|
"io_config.go",
|
2020-05-05 17:58:07 +00:00
|
|
|
"loader.go",
|
2020-06-27 00:20:24 +00:00
|
|
|
"mainnet_config.go",
|
|
|
|
"minimal_config.go",
|
2020-04-16 22:21:44 +00:00
|
|
|
"network_config.go",
|
2020-06-27 00:20:24 +00:00
|
|
|
"testnet_e2e_config.go",
|
2023-08-29 14:27:50 +00:00
|
|
|
"testnet_holesky_config.go",
|
2021-03-17 14:14:07 +00:00
|
|
|
"testnet_prater_config.go",
|
2022-06-14 14:50:05 +00:00
|
|
|
"testnet_sepolia_config.go",
|
2020-06-27 00:20:24 +00:00
|
|
|
"testutils.go",
|
2022-08-05 13:01:47 +00:00
|
|
|
"testutils_develop.go", # keep
|
2021-02-01 19:00:06 +00:00
|
|
|
"values.go",
|
2020-04-16 22:21:44 +00:00
|
|
|
],
|
2024-02-15 05:46:47 +00:00
|
|
|
importpath = "github.com/prysmaticlabs/prysm/v5/config/params",
|
2018-11-18 16:39:35 +00:00
|
|
|
visibility = ["//visibility:public"],
|
2020-05-05 08:39:38 +00:00
|
|
|
deps = [
|
2022-03-21 19:43:41 +00:00
|
|
|
"//config/fieldparams:go_default_library",
|
2022-04-29 14:32:11 +00:00
|
|
|
"//consensus-types/primitives: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",
|
2023-08-23 20:07:25 +00:00
|
|
|
"//runtime/version:go_default_library",
|
2021-11-12 20:01:14 +00:00
|
|
|
"@com_github_ethereum_go_ethereum//common:go_default_library",
|
2021-03-17 14:14:07 +00:00
|
|
|
"@com_github_ethereum_go_ethereum//params:go_default_library",
|
2020-05-05 08:39:38 +00:00
|
|
|
"@com_github_mohae_deepcopy//:go_default_library",
|
2022-03-21 19:43:41 +00:00
|
|
|
"@com_github_pkg_errors//:go_default_library",
|
2020-05-05 17:58:07 +00:00
|
|
|
"@com_github_sirupsen_logrus//:go_default_library",
|
|
|
|
"@in_gopkg_yaml_v2//:go_default_library",
|
2020-05-05 08:39:38 +00:00
|
|
|
],
|
2018-07-07 17:23:19 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
go_test(
|
|
|
|
name = "go_default_test",
|
2019-06-30 16:00:22 +00:00
|
|
|
size = "small",
|
2020-05-05 17:58:07 +00:00
|
|
|
srcs = [
|
2021-01-04 20:48:39 +00:00
|
|
|
"checktags_test.go",
|
2020-05-05 17:58:07 +00:00
|
|
|
"config_test.go",
|
2022-05-20 07:16:53 +00:00
|
|
|
"configset_test.go",
|
2020-05-05 17:58:07 +00:00
|
|
|
"loader_test.go",
|
2023-11-14 05:50:51 +00:00
|
|
|
"mainnet_config_test.go",
|
2021-08-25 17:18:29 +00:00
|
|
|
"testnet_config_test.go",
|
2023-08-29 14:27:50 +00:00
|
|
|
"testnet_holesky_config_test.go",
|
2021-08-25 17:18:29 +00:00
|
|
|
"testnet_prater_config_test.go",
|
2020-05-05 17:58:07 +00:00
|
|
|
],
|
|
|
|
data = glob(["*.yaml"]) + [
|
2023-08-11 16:39:35 +00:00
|
|
|
"testdata/e2e_config.yaml",
|
2021-08-19 18:00:57 +00:00
|
|
|
"@consensus_spec//:spec_data",
|
|
|
|
"@consensus_spec_tests_mainnet//:test_data",
|
|
|
|
"@consensus_spec_tests_minimal//:test_data",
|
2021-08-25 17:18:29 +00:00
|
|
|
"@eth2_networks//:configs",
|
2024-01-02 15:31:57 +00:00
|
|
|
"@goerli_testnet//:configs",
|
2023-08-29 14:27:50 +00:00
|
|
|
"@holesky_testnet//:configs",
|
2020-05-05 17:58:07 +00:00
|
|
|
],
|
2022-05-20 07:16:53 +00:00
|
|
|
embed = [":go_default_library"],
|
2021-01-04 20:48:39 +00:00
|
|
|
gotags = ["develop"],
|
2023-12-01 22:20:54 +00:00
|
|
|
tags = ["CI_race_detection"],
|
2020-08-25 10:18:29 +00:00
|
|
|
deps = [
|
2024-01-02 15:31:57 +00:00
|
|
|
"//build/bazel:go_default_library",
|
2023-09-08 10:47:34 +00:00
|
|
|
"//consensus-types/primitives:go_default_library",
|
2022-05-20 07:16:53 +00:00
|
|
|
"//encoding/bytesutil:go_default_library",
|
2022-02-02 06:56:07 +00:00
|
|
|
"//io/file:go_default_library",
|
2021-09-23 18:53:46 +00:00
|
|
|
"//testing/assert:go_default_library",
|
|
|
|
"//testing/require:go_default_library",
|
2021-01-04 20:48:39 +00:00
|
|
|
"@com_github_sirupsen_logrus//:go_default_library",
|
2021-08-09 18:40:06 +00:00
|
|
|
"@in_gopkg_yaml_v2//:go_default_library",
|
2020-08-25 10:18:29 +00:00
|
|
|
"@io_bazel_rules_go//go/tools/bazel:go_default_library",
|
|
|
|
],
|
2018-07-07 17:23:19 +00:00
|
|
|
)
|
2022-04-12 16:57:46 +00:00
|
|
|
|
|
|
|
filegroup(
|
|
|
|
name = "custom_configs",
|
|
|
|
srcs = glob(["testdata/*.yaml"]),
|
|
|
|
visibility = ["//testing:__subpackages__"],
|
|
|
|
)
|