mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2024-12-28 14:17:17 +00:00
27bd188ea8
* Add a tool to extract genesis.ssz from existing database * close db * panic on nil
30 lines
876 B
Python
30 lines
876 B
Python
load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
|
|
|
|
go_library(
|
|
name = "go_default_library",
|
|
srcs = [
|
|
"db.go",
|
|
"http_backup_handler.go",
|
|
],
|
|
importpath = "github.com/prysmaticlabs/prysm/beacon-chain/db",
|
|
visibility = [
|
|
"//beacon-chain:__subpackages__",
|
|
"//tools:__subpackages__",
|
|
],
|
|
deps = [
|
|
"//beacon-chain/db/filters:go_default_library",
|
|
"//beacon-chain/db/kv:go_default_library",
|
|
"//proto/beacon/p2p/v1:go_default_library",
|
|
"//proto/eth/v1alpha1:go_default_library",
|
|
"@com_github_ethereum_go_ethereum//common:go_default_library",
|
|
"@com_github_sirupsen_logrus//:go_default_library",
|
|
],
|
|
)
|
|
|
|
go_test(
|
|
name = "go_default_test",
|
|
srcs = ["db_test.go"],
|
|
embed = [":go_default_library"],
|
|
deps = ["//beacon-chain/db/kv:go_default_library"],
|
|
)
|