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"],
|
|
|
|
importpath = "github.com/prysmaticlabs/prysm/beacon-chain/state/genesis",
|
|
|
|
visibility = ["//beacon-chain/db:__subpackages__"],
|
|
|
|
deps = [
|
2021-06-30 15:06:19 +00:00
|
|
|
"//beacon-chain/state/v1:go_default_library",
|
2021-03-18 21:00:00 +00:00
|
|
|
"//proto/beacon/p2p/v1:go_default_library",
|
|
|
|
"//shared/params:go_default_library",
|
|
|
|
"@com_github_golang_snappy//:go_default_library",
|
|
|
|
],
|
|
|
|
)
|
|
|
|
|
|
|
|
go_test(
|
|
|
|
name = "go_default_test",
|
|
|
|
srcs = ["genesis_test.go"],
|
|
|
|
deps = [
|
|
|
|
":go_default_library",
|
|
|
|
"//shared/params:go_default_library",
|
|
|
|
],
|
|
|
|
)
|