Files
prysm/config/BUILD.bazel
terence 774b9a7159 Migrate Prysm repo to Offchain Labs organization ahead of Pectra V6 (#15140)
* Migrate Prysm repo to Offchain Labs organization ahead of Pectra upgrade v6

* Replace prysmaticlabs with OffchainLabs on general markdowns

* Update mock

* Gazelle and add mock.go to excluded generated mock file
2025-04-10 15:40:39 +00:00

41 lines
1.0 KiB
Python

load("@prysm//tools/go:def.bzl", "go_library", "go_test")
config_setting(
name = "mainnet",
flag_values = {
"//proto:network": "mainnet",
},
)
config_setting(
name = "minimal",
flag_values = {
"//proto:network": "minimal",
},
)
go_library(
name = "go_default_library",
srcs = ["util.go"],
importpath = "github.com/OffchainLabs/prysm/v6/config",
visibility = ["//visibility:public"],
deps = [
"@com_github_ethereum_go_ethereum//common:go_default_library",
"@com_github_pkg_errors//:go_default_library",
"@com_github_sirupsen_logrus//:go_default_library",
"@io_k8s_apimachinery//pkg/util/yaml:go_default_library",
],
)
go_test(
name = "go_default_test",
srcs = ["util_test.go"],
embed = [":go_default_library"],
deps = [
"//config/params:go_default_library",
"//testing/assert:go_default_library",
"//testing/require:go_default_library",
"@com_github_sirupsen_logrus//hooks/test:go_default_library",
],
)