mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2024-12-26 05:17:22 +00:00
30 lines
872 B
Python
30 lines
872 B
Python
|
load("@prysm//tools/go:def.bzl", "go_library", "go_test")
|
||
|
|
||
|
go_library(
|
||
|
name = "go_default_library",
|
||
|
srcs = [
|
||
|
"attestations.go",
|
||
|
"blocks.go",
|
||
|
"server.go",
|
||
|
],
|
||
|
importpath = "github.com/prysmaticlabs/prysm/beacon-chain/rpc/prysm/v1alpha1/slasher",
|
||
|
visibility = ["//beacon-chain:__subpackages__"],
|
||
|
deps = [
|
||
|
"//beacon-chain/slasher:go_default_library",
|
||
|
"//proto/prysm/v1alpha1:go_default_library",
|
||
|
"@org_golang_google_grpc//codes:go_default_library",
|
||
|
"@org_golang_google_grpc//status:go_default_library",
|
||
|
],
|
||
|
)
|
||
|
|
||
|
go_test(
|
||
|
name = "go_default_test",
|
||
|
srcs = ["server_test.go"],
|
||
|
embed = [":go_default_library"],
|
||
|
deps = [
|
||
|
"//beacon-chain/slasher:go_default_library",
|
||
|
"//proto/prysm/v1alpha1:go_default_library",
|
||
|
"//testing/require:go_default_library",
|
||
|
],
|
||
|
)
|