mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2024-12-25 12:57:18 +00:00
5cc6de9e67
* Docs * Interface definitions * Fmt and gazelle * Rename interface to interfaces * Define all the type for protoarray * Gaz * Add error types * Add compute delta helper * Compute delta tests * Gaz * Fix formatting and comments * Apply suggestions from code review Co-authored-by: Ivan Martinez <ivanthegreatdev@gmail.com>
28 lines
698 B
Python
28 lines
698 B
Python
load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
|
|
|
|
go_library(
|
|
name = "go_default_library",
|
|
srcs = [
|
|
"doc.go",
|
|
"errors.go",
|
|
"helpers.go",
|
|
"types.go",
|
|
],
|
|
importpath = "github.com/prysmaticlabs/prysm/beacon-chain/forkchoice/protoarray",
|
|
visibility = ["//beacon-chain:__subpackages__"],
|
|
deps = [
|
|
"//shared/params:go_default_library",
|
|
"@io_opencensus_go//trace:go_default_library",
|
|
],
|
|
)
|
|
|
|
go_test(
|
|
name = "go_default_test",
|
|
srcs = ["helpers_test.go"],
|
|
embed = [":go_default_library"],
|
|
deps = [
|
|
"//shared/hashutil:go_default_library",
|
|
"//shared/params:go_default_library",
|
|
],
|
|
)
|