2021-06-30 19:22:09 +00:00
|
|
|
load("@prysm//tools/go:def.bzl", "go_library", "go_test")
|
2021-03-18 21:00:00 +00:00
|
|
|
|
|
|
|
go_library(
|
|
|
|
name = "go_default_library",
|
|
|
|
srcs = ["genesis.go"],
|
|
|
|
embedsrcs = ["mainnet.ssz.snappy"],
|
2023-03-17 18:52:56 +00:00
|
|
|
importpath = "github.com/prysmaticlabs/prysm/v4/beacon-chain/state/genesis",
|
2021-03-18 21:00:00 +00:00
|
|
|
visibility = ["//beacon-chain/db:__subpackages__"],
|
|
|
|
deps = [
|
2022-02-08 09:30:06 +00:00
|
|
|
"//beacon-chain/state:go_default_library",
|
2022-09-16 22:17:46 +00:00
|
|
|
"//beacon-chain/state/state-native:go_default_library",
|
2021-09-21 19:59:25 +00:00
|
|
|
"//config/params:go_default_library",
|
2021-07-28 21:23:44 +00:00
|
|
|
"//proto/prysm/v1alpha1:go_default_library",
|
2021-03-18 21:00:00 +00:00
|
|
|
"@com_github_golang_snappy//:go_default_library",
|
|
|
|
],
|
|
|
|
)
|
|
|
|
|
|
|
|
go_test(
|
|
|
|
name = "go_default_test",
|
|
|
|
srcs = ["genesis_test.go"],
|
|
|
|
deps = [
|
|
|
|
":go_default_library",
|
2021-09-21 19:59:25 +00:00
|
|
|
"//config/params:go_default_library",
|
2021-03-18 21:00:00 +00:00
|
|
|
],
|
|
|
|
)
|