mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2025-01-12 20:50:05 +00:00
75936853af
* bring over helpers * slasher helpers pass tests * fix dead link * rem eth2 * gaz * params * gaz * builds Co-authored-by: Preston Van Loon <preston@prysmaticlabs.com>
43 lines
1.4 KiB
Python
43 lines
1.4 KiB
Python
load("@prysm//tools/go:def.bzl", "go_library", "go_test")
|
|
|
|
go_library(
|
|
name = "go_default_library",
|
|
srcs = [
|
|
"doc.go",
|
|
"helpers.go",
|
|
"params.go",
|
|
"service.go",
|
|
],
|
|
importpath = "github.com/prysmaticlabs/prysm/beacon-chain/slasher",
|
|
visibility = ["//beacon-chain:__subpackages__"],
|
|
deps = [
|
|
"//beacon-chain/slasher/types:go_default_library",
|
|
"//config/params:go_default_library",
|
|
"//container/slice:go_default_library",
|
|
"//proto/prysm/v1alpha1:go_default_library",
|
|
"@com_github_ferranbt_fastssz//:go_default_library",
|
|
"@com_github_prysmaticlabs_eth2_types//:go_default_library",
|
|
"@com_github_sirupsen_logrus//:go_default_library",
|
|
],
|
|
)
|
|
|
|
go_test(
|
|
name = "go_default_test",
|
|
srcs = [
|
|
"helpers_test.go",
|
|
"params_test.go",
|
|
],
|
|
embed = [":go_default_library"],
|
|
deps = [
|
|
"//beacon-chain/slasher/types:go_default_library",
|
|
"//config/params:go_default_library",
|
|
"//encoding/bytesutil:go_default_library",
|
|
"//proto/prysm/v1alpha1:go_default_library",
|
|
"//testing/assert:go_default_library",
|
|
"//testing/require:go_default_library",
|
|
"@com_github_ferranbt_fastssz//:go_default_library",
|
|
"@com_github_prysmaticlabs_eth2_types//:go_default_library",
|
|
"@com_github_sirupsen_logrus//hooks/test:go_default_library",
|
|
],
|
|
)
|