prysm-pulse/beacon-chain/state/genesis/BUILD.bazel
kasey f4307a902c
build tag to exclude mainnet genesis from prysmctl (#12244)
Co-authored-by: Kasey Kirkham <kasey@users.noreply.github.com>
Co-authored-by: james-prysm <90280386+james-prysm@users.noreply.github.com>
2023-04-06 19:45:35 +00:00

29 lines
818 B
Python

load("@prysm//tools/go:def.bzl", "go_library", "go_test")
go_library(
name = "go_default_library",
srcs = [
"genesis.go",
"genesis_mainnet.go",
],
embedsrcs = ["mainnet.ssz.snappy"],
importpath = "github.com/prysmaticlabs/prysm/v4/beacon-chain/state/genesis",
visibility = ["//beacon-chain/db:__subpackages__"],
deps = [
"//beacon-chain/state:go_default_library",
"//beacon-chain/state/state-native:go_default_library",
"//config/params:go_default_library",
"//proto/prysm/v1alpha1:go_default_library",
"@com_github_golang_snappy//:go_default_library",
],
)
go_test(
name = "go_default_test",
srcs = ["genesis_test.go"],
deps = [
":go_default_library",
"//config/params:go_default_library",
],
)