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",
|
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",
|
2021-03-17 14:14:07 +00:00
|
|
|
"testnet_prater_config.go",
|
2020-11-13 01:00:05 +00:00
|
|
|
"testnet_pyrmont_config.go",
|
2020-06-27 00:20:24 +00:00
|
|
|
"testutils.go",
|
2021-02-01 19:00:06 +00:00
|
|
|
"values.go",
|
2020-04-16 22:21:44 +00:00
|
|
|
],
|
2018-11-18 16:39:35 +00:00
|
|
|
importpath = "github.com/prysmaticlabs/prysm/shared/params",
|
|
|
|
visibility = ["//visibility:public"],
|
2020-05-05 08:39:38 +00:00
|
|
|
deps = [
|
2021-09-17 21:55:24 +00:00
|
|
|
"//math:go_default_library",
|
2020-05-05 08:39:38 +00:00
|
|
|
"//shared/bytesutil: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",
|
2021-02-09 10:05:22 +00:00
|
|
|
"@com_github_prysmaticlabs_eth2_types//: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",
|
|
|
|
"loader_test.go",
|
2021-08-25 17:18:29 +00:00
|
|
|
"testnet_config_test.go",
|
|
|
|
"testnet_prater_config_test.go",
|
2020-05-05 17:58:07 +00:00
|
|
|
],
|
|
|
|
data = glob(["*.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",
|
2020-05-05 17:58:07 +00:00
|
|
|
],
|
2021-01-04 20:48:39 +00:00
|
|
|
gotags = ["develop"],
|
|
|
|
race = "on",
|
2020-08-25 10:18:29 +00:00
|
|
|
deps = [
|
2021-09-21 15:02:48 +00:00
|
|
|
":go_default_library",
|
2020-12-18 22:22:48 +00:00
|
|
|
"//shared/testutil/assert:go_default_library",
|
2020-08-25 10:18:29 +00:00
|
|
|
"//shared/testutil/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
|
|
|
)
|