mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2025-01-09 19:21:19 +00:00
b55ddb5a34
* Use go:build lines and remove obsolete +build lines * Run gazelle * Update crypto/bls/blst/stub.go * Update crypto/bls/blst/stub.go Co-authored-by: Raul Jordan <raul@prysmaticlabs.com> Co-authored-by: Preston Van Loon <preston@prysmaticlabs.com> Co-authored-by: Nishant Das <nishdas93@gmail.com>
41 lines
934 B
Python
41 lines
934 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/config/fieldparams",
|
|
visibility = ["//visibility:public"],
|
|
)
|
|
|
|
go_test(
|
|
name = "go_default_test",
|
|
srcs = [
|
|
"common_test.go",
|
|
"mainnet_test.go",
|
|
"minimal_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",
|
|
],
|
|
)
|