mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2024-12-26 05:17:22 +00:00
c44a30672e
* Add interface and move slashing types to /types package * WIP restructure to match beacon chain DB * Fix build * Fix comment * Fix comments * fix comments for sure * Use wrapper function for evict * Remove unused * Update slasher/db/kv/kv.go * Update slasher/db/testing/BUILD.bazel * Update slasher/db/types/BUILD.bazel * Update slasher/db/types/types.go Co-authored-by: Raul Jordan <raul@prysmaticlabs.com>
23 lines
551 B
Python
23 lines
551 B
Python
load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
|
|
|
|
go_library(
|
|
name = "go_default_library",
|
|
srcs = [
|
|
"alias.go",
|
|
"db.go",
|
|
],
|
|
importpath = "github.com/prysmaticlabs/prysm/slasher/db",
|
|
visibility = ["//slasher:__subpackages__"],
|
|
deps = [
|
|
"//slasher/db/iface:go_default_library",
|
|
"//slasher/db/kv:go_default_library",
|
|
],
|
|
)
|
|
|
|
go_test(
|
|
name = "go_default_test",
|
|
srcs = ["db_test.go"],
|
|
embed = [":go_default_library"],
|
|
deps = ["//slasher/db/kv:go_default_library"],
|
|
)
|