mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2024-12-22 11:32:09 +00:00
cdd1d819df
* refactor batch verifier to share with pending queue * unit test for batch verifier --------- Co-authored-by: Kasey Kirkham <kasey@users.noreply.github.com>
77 lines
2.9 KiB
Python
77 lines
2.9 KiB
Python
load("@prysm//tools/go:def.bzl", "go_library", "go_test")
|
|
|
|
go_library(
|
|
name = "go_default_library",
|
|
srcs = [
|
|
"batch.go",
|
|
"blob.go",
|
|
"cache.go",
|
|
"error.go",
|
|
"fake.go",
|
|
"initializer.go",
|
|
"interface.go",
|
|
"metrics.go",
|
|
"mock.go",
|
|
"result.go",
|
|
],
|
|
importpath = "github.com/prysmaticlabs/prysm/v5/beacon-chain/verification",
|
|
visibility = ["//visibility:public"],
|
|
deps = [
|
|
"//beacon-chain/blockchain/kzg:go_default_library",
|
|
"//beacon-chain/core/helpers:go_default_library",
|
|
"//beacon-chain/core/signing:go_default_library",
|
|
"//beacon-chain/core/transition:go_default_library",
|
|
"//beacon-chain/forkchoice/types:go_default_library",
|
|
"//beacon-chain/startup:go_default_library",
|
|
"//beacon-chain/state:go_default_library",
|
|
"//cache/lru:go_default_library",
|
|
"//config/fieldparams:go_default_library",
|
|
"//config/params:go_default_library",
|
|
"//consensus-types/blocks:go_default_library",
|
|
"//consensus-types/primitives:go_default_library",
|
|
"//crypto/bls:go_default_library",
|
|
"//encoding/bytesutil:go_default_library",
|
|
"//network/forks:go_default_library",
|
|
"//proto/prysm/v1alpha1:go_default_library",
|
|
"//runtime/logging:go_default_library",
|
|
"//time/slots:go_default_library",
|
|
"@com_github_hashicorp_golang_lru//:go_default_library",
|
|
"@com_github_pkg_errors//:go_default_library",
|
|
"@com_github_prometheus_client_golang//prometheus:go_default_library",
|
|
"@com_github_prometheus_client_golang//prometheus/promauto:go_default_library",
|
|
"@com_github_sirupsen_logrus//:go_default_library",
|
|
],
|
|
)
|
|
|
|
go_test(
|
|
name = "go_default_test",
|
|
srcs = [
|
|
"batch_test.go",
|
|
"blob_test.go",
|
|
"cache_test.go",
|
|
"initializer_test.go",
|
|
"result_test.go",
|
|
],
|
|
embed = [":go_default_library"],
|
|
deps = [
|
|
"//beacon-chain/core/signing:go_default_library",
|
|
"//beacon-chain/db:go_default_library",
|
|
"//beacon-chain/forkchoice/types:go_default_library",
|
|
"//beacon-chain/startup:go_default_library",
|
|
"//beacon-chain/state:go_default_library",
|
|
"//config/fieldparams:go_default_library",
|
|
"//config/params:go_default_library",
|
|
"//consensus-types/blocks:go_default_library",
|
|
"//consensus-types/primitives:go_default_library",
|
|
"//crypto/bls:go_default_library",
|
|
"//encoding/bytesutil:go_default_library",
|
|
"//proto/prysm/v1alpha1:go_default_library",
|
|
"//runtime/interop:go_default_library",
|
|
"//testing/require:go_default_library",
|
|
"//testing/util:go_default_library",
|
|
"//time/slots:go_default_library",
|
|
"@com_github_pkg_errors//:go_default_library",
|
|
"@com_github_stretchr_testify//require:go_default_library",
|
|
],
|
|
)
|