mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2025-01-08 18:51:19 +00:00
f46ee335bd
* adding proto messages * adding fields * adding new service * new changes * checking in file from syncFix * fixing test * add test * adding to node * goimports * adding query service to sync services * sync working * finally works * fix test * lint * fix build * fix test
31 lines
1.0 KiB
Python
31 lines
1.0 KiB
Python
load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
|
|
|
|
go_library(
|
|
name = "go_default_library",
|
|
srcs = ["service.go"],
|
|
importpath = "github.com/prysmaticlabs/prysm/beacon-chain/sync/sync-querier",
|
|
visibility = ["//beacon-chain:__subpackages__"],
|
|
deps = [
|
|
"//beacon-chain/types:go_default_library",
|
|
"//proto/beacon/p2p/v1:go_default_library",
|
|
"//shared/event:go_default_library",
|
|
"//shared/p2p:go_default_library",
|
|
"@com_github_golang_protobuf//proto:go_default_library",
|
|
"@com_github_sirupsen_logrus//:go_default_library",
|
|
],
|
|
)
|
|
|
|
go_test(
|
|
name = "go_default_test",
|
|
srcs = ["service_test.go"],
|
|
embed = [":go_default_library"],
|
|
deps = [
|
|
"//proto/beacon/p2p/v1:go_default_library",
|
|
"//shared/event:go_default_library",
|
|
"//shared/p2p:go_default_library",
|
|
"//shared/testutil:go_default_library",
|
|
"@com_github_golang_protobuf//proto:go_default_library",
|
|
"@com_github_sirupsen_logrus//hooks/test:go_default_library",
|
|
],
|
|
)
|