2021-11-15 17:39:55 +00:00
|
|
|
load("@prysm//tools/go:def.bzl", "go_library", "go_test")
|
|
|
|
|
|
|
|
go_library(
|
|
|
|
name = "go_default_library",
|
|
|
|
srcs = [
|
|
|
|
"doc.go",
|
2021-11-19 15:34:28 +00:00
|
|
|
"metrics.go",
|
2021-11-19 01:14:56 +00:00
|
|
|
"process_attestation.go",
|
2021-11-15 17:39:55 +00:00
|
|
|
"process_block.go",
|
2021-11-15 19:45:18 +00:00
|
|
|
"process_exit.go",
|
2021-11-15 17:39:55 +00:00
|
|
|
"service.go",
|
|
|
|
],
|
|
|
|
importpath = "github.com/prysmaticlabs/prysm/beacon-chain/monitor",
|
|
|
|
visibility = ["//beacon-chain:__subpackages__"],
|
|
|
|
deps = [
|
2021-11-19 01:14:56 +00:00
|
|
|
"//beacon-chain/core/altair:go_default_library",
|
2021-11-15 17:39:55 +00:00
|
|
|
"//beacon-chain/core/blocks:go_default_library",
|
2021-11-19 01:14:56 +00:00
|
|
|
"//beacon-chain/core/helpers:go_default_library",
|
|
|
|
"//beacon-chain/state:go_default_library",
|
|
|
|
"//beacon-chain/state/stategen:go_default_library",
|
|
|
|
"//config/params:go_default_library",
|
2021-11-15 17:39:55 +00:00
|
|
|
"//encoding/bytesutil:go_default_library",
|
2021-11-15 19:45:18 +00:00
|
|
|
"//proto/prysm/v1alpha1:go_default_library",
|
2021-11-19 01:14:56 +00:00
|
|
|
"//proto/prysm/v1alpha1/attestation:go_default_library",
|
2021-11-15 17:39:55 +00:00
|
|
|
"//proto/prysm/v1alpha1/block:go_default_library",
|
2021-11-19 01:14:56 +00:00
|
|
|
"//runtime/version:go_default_library",
|
|
|
|
"//time/slots:go_default_library",
|
2021-11-19 15:34:28 +00:00
|
|
|
"@com_github_prometheus_client_golang//prometheus:go_default_library",
|
|
|
|
"@com_github_prometheus_client_golang//prometheus/promauto:go_default_library",
|
2021-11-15 17:39:55 +00:00
|
|
|
"@com_github_prysmaticlabs_eth2_types//:go_default_library",
|
|
|
|
"@com_github_sirupsen_logrus//:go_default_library",
|
|
|
|
],
|
|
|
|
)
|
|
|
|
|
|
|
|
go_test(
|
|
|
|
name = "go_default_test",
|
|
|
|
srcs = [
|
2021-11-19 01:14:56 +00:00
|
|
|
"process_attestation_test.go",
|
2021-11-15 17:39:55 +00:00
|
|
|
"process_block_test.go",
|
2021-11-15 19:45:18 +00:00
|
|
|
"process_exit_test.go",
|
2021-11-15 17:39:55 +00:00
|
|
|
"service_test.go",
|
|
|
|
],
|
|
|
|
embed = [":go_default_library"],
|
|
|
|
deps = [
|
2021-11-19 01:14:56 +00:00
|
|
|
"//beacon-chain/db/testing:go_default_library",
|
|
|
|
"//beacon-chain/state/stategen:go_default_library",
|
2021-11-15 17:39:55 +00:00
|
|
|
"//config/params:go_default_library",
|
2021-11-19 01:14:56 +00:00
|
|
|
"//encoding/bytesutil:go_default_library",
|
2021-11-15 17:39:55 +00:00
|
|
|
"//proto/prysm/v1alpha1:go_default_library",
|
|
|
|
"//proto/prysm/v1alpha1/wrapper:go_default_library",
|
|
|
|
"//testing/require:go_default_library",
|
|
|
|
"//testing/util:go_default_library",
|
|
|
|
"@com_github_prysmaticlabs_eth2_types//:go_default_library",
|
2021-11-19 01:14:56 +00:00
|
|
|
"@com_github_prysmaticlabs_go_bitfield//:go_default_library",
|
|
|
|
"@com_github_sirupsen_logrus//:go_default_library",
|
2021-11-15 17:39:55 +00:00
|
|
|
"@com_github_sirupsen_logrus//hooks/test:go_default_library",
|
|
|
|
],
|
|
|
|
)
|