mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2025-01-15 06:28:20 +00:00
4d5d229f0f
Former-commit-id: bbd5b46e7f64f762350d6fb496492207e70d7130 [formerly 43a37f7139b7d1d90f0c27a7406b63bdf390ad96] Former-commit-id: bb7a2ff0a7619f8de0bd38cd2c9eb0de7c189edb
25 lines
788 B
Python
25 lines
788 B
Python
load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
|
|
|
|
go_library(
|
|
name = "go_default_library",
|
|
srcs = ["database.go"],
|
|
importpath = "github.com/prysmaticlabs/geth-sharding/sharding/database",
|
|
visibility = ["//sharding:__subpackages__"],
|
|
deps = [
|
|
"//shared/database:go_default_library",
|
|
"@com_github_ethereum_go_ethereum//ethdb:go_default_library",
|
|
"@com_github_sirupsen_logrus//:go_default_library",
|
|
],
|
|
)
|
|
|
|
go_test(
|
|
name = "go_default_test",
|
|
srcs = ["database_test.go"],
|
|
embed = [":go_default_library"],
|
|
deps = [
|
|
"//sharding/types:go_default_library",
|
|
"@com_github_sirupsen_logrus//hooks/test:go_default_library",
|
|
"@com_github_syndtr_goleveldb//leveldb/errors:go_default_library",
|
|
],
|
|
)
|