mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2024-12-22 19:40:37 +00:00
5a66807989
* First take at updating everything to v5 * Patch gRPC gateway to use prysm v5 Fix patch * Update go ssz --------- Co-authored-by: Preston Van Loon <pvanloon@offchainlabs.com>
40 lines
910 B
Python
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/v5/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",
|
|
],
|
|
)
|