mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2024-12-23 03:51:29 +00:00
d17996f8b0
* Update V3 from V4 * Fix build v3 -> v4 * Update ssz * Update beacon_chain.pb.go * Fix formatter import * Update update-mockgen.sh comment to v4 * Fix conflicts. Pass build and tests * Fix test
41 lines
937 B
Python
41 lines
937 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",
|
|
"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",
|
|
],
|
|
)
|