mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2025-01-10 11:41:21 +00:00
77267169ea
* turn up linter to 11 * Added extra linting rules and fixed all lint issues * add deadline of 10m Former-commit-id: 632999fcaa8370516d6fe76c28c503cb2e3319b7 [formerly d4354f631b1eb4f7918cde28bf063f756ae92a54] Former-commit-id: 3aaf78a56b76850b0123d61551ac554ccecfe9ad
32 lines
962 B
Python
32 lines
962 B
Python
load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
|
|
|
|
go_library(
|
|
name = "go_default_library",
|
|
srcs = [
|
|
"database.go",
|
|
"inmemory.go",
|
|
],
|
|
importpath = "github.com/prysmaticlabs/geth-sharding/sharding/database",
|
|
visibility = ["//sharding:__subpackages__"],
|
|
deps = [
|
|
"@com_github_ethereum_go_ethereum//common: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",
|
|
"inmemory_test.go",
|
|
],
|
|
embed = [":go_default_library"],
|
|
deps = [
|
|
"//sharding/types:go_default_library",
|
|
"@com_github_ethereum_go_ethereum//ethdb:go_default_library",
|
|
"@com_github_sirupsen_logrus//hooks/test:go_default_library",
|
|
"@com_github_syndtr_goleveldb//leveldb/errors:go_default_library",
|
|
],
|
|
)
|