mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2024-12-23 11:57:18 +00:00
32 lines
847 B
Python
32 lines
847 B
Python
|
load("@prysm//tools/go:def.bzl", "go_library", "go_test")
|
||
|
|
||
|
go_library(
|
||
|
name = "go_default_library",
|
||
|
srcs = [
|
||
|
"clock.go",
|
||
|
"synchronizer.go",
|
||
|
],
|
||
|
importpath = "github.com/prysmaticlabs/prysm/v4/beacon-chain/startup",
|
||
|
visibility = ["//visibility:public"],
|
||
|
deps = [
|
||
|
"//consensus-types/primitives:go_default_library",
|
||
|
"//time/slots:go_default_library",
|
||
|
"@com_github_pkg_errors//:go_default_library",
|
||
|
],
|
||
|
)
|
||
|
|
||
|
go_test(
|
||
|
name = "go_default_test",
|
||
|
srcs = [
|
||
|
"clock_test.go",
|
||
|
"synchronizer_test.go",
|
||
|
],
|
||
|
embed = [":go_default_library"],
|
||
|
deps = [
|
||
|
"//config/params:go_default_library",
|
||
|
"//consensus-types/primitives:go_default_library",
|
||
|
"//encoding/bytesutil:go_default_library",
|
||
|
"//testing/require:go_default_library",
|
||
|
],
|
||
|
)
|