prysm-pulse/tools/extractor/BUILD.bazel
pinglamb 9f423617cb
Added db.BlocksBySlot and db.BlockRootsBySlot (#8184)
* Added blockBySlot and blockRootBySlot

* Changed to BlocksBySlot and BlockRootsBySlot

* Updated to use BlocksBySlot and BlockRootsBySlot

* Added missing passthrough to karfa exporter

* Return hasBlocks/hasBlockRoots in the new getters

* Fixed CI lint

* Replace call to bytes.Compare with bytes.Equal

* Reordered the returns of the new getters

Co-authored-by: Nishant Das <nishdas93@gmail.com>
Co-authored-by: Raul Jordan <raul@prysmaticlabs.com>
2021-01-12 18:31:15 +00:00

21 lines
582 B
Python

load("@prysm//tools/go:def.bzl", "go_library")
load("@io_bazel_rules_go//go:def.bzl", "go_binary")
go_library(
name = "go_default_library",
srcs = ["main.go"],
importpath = "github.com/prysmaticlabs/prysm/tools/extractor",
visibility = ["//visibility:public"],
deps = [
"//beacon-chain/core/state/interop:go_default_library",
"//beacon-chain/db:go_default_library",
"//shared/featureconfig:go_default_library",
],
)
go_binary(
name = "extractor",
embed = [":go_default_library"],
visibility = ["//visibility:public"],
)