prysm-pulse/config/fieldparams/BUILD.bazel
Preston Van Loon 751dd847b8
Update rules go & gazelle (#12721)
* Update rules_go to v0.40.0

* Update gazelle to v0.26.0

* Update gazelle to v0.27.0

* Update gazelle to v0.28.0

* Update gazelle to v0.29.0

* Update gazelle to v0.30.0

* Update gazelle to v0.31.0
2023-08-11 16:39:35 +00:00

40 lines
910 B
Python

load("@prysm//tools/go:def.bzl", "go_library", "go_test")
go_library(
name = "go_default_library",
srcs = select({
"//config:mainnet": ["mainnet.go"],
"//config:minimal": ["minimal.go"],
}),
importpath = "github.com/prysmaticlabs/prysm/v4/config/fieldparams",
visibility = ["//visibility:public"],
)
go_test(
name = "go_default_test",
srcs = [
"common_test.go",
"mainnet_test.go",
],
deps = [
":go_default_library",
"//config/params:go_default_library",
"//testing/require:go_default_library",
],
)
go_test(
name = "go_minimal_test",
srcs = [
"common_test.go",
"minimal_test.go",
],
eth_network = "minimal",
tags = ["minimal"],
deps = [
":go_default_library",
"//config/params:go_default_library",
"//testing/require:go_default_library",
],
)