mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2025-01-09 19:21:19 +00:00
83416f31a5
* adding changes to blocks * trying out expiration * adding implementation, have WIP for tests * adding unit tests for cache * fixing bazel complaints * fix linting * adding safe check for unint type * changing approach to safety check * adding cache to bazel to test fixing build * reverting bazel change and adding flag to usage * implementing interface on mock to fix build error * fixing unit tests * fixing unit test * fixing unit tests * fixing linting * fixing more unit tests * fixing produce blinded block tests * Update beacon-chain/cache/registration.go Co-authored-by: Preston Van Loon <preston@prysmaticlabs.com> * resolving review comments * fixing cache * Update beacon-chain/cache/registration.go Co-authored-by: Preston Van Loon <preston@prysmaticlabs.com> * Update beacon-chain/cache/registration.go Co-authored-by: Preston Van Loon <preston@prysmaticlabs.com> * fixing time logic * adding context to trace * fix bazel lint * fixing context dependency * fix linting * Update cmd/beacon-chain/flags/base.go Co-authored-by: Preston Van Loon <preston@prysmaticlabs.com> * addressing review comments * fixing deepsource issues * improving the default settings * fixing bazel * removing irrelevant unit test * updating name --------- Co-authored-by: Preston Van Loon <preston@prysmaticlabs.com>
46 lines
1.7 KiB
Python
46 lines
1.7 KiB
Python
load("@prysm//tools/go:def.bzl", "go_library", "go_test")
|
|
|
|
go_library(
|
|
name = "go_default_library",
|
|
srcs = [
|
|
"metric.go",
|
|
"option.go",
|
|
"service.go",
|
|
],
|
|
importpath = "github.com/prysmaticlabs/prysm/v4/beacon-chain/builder",
|
|
visibility = ["//visibility:public"],
|
|
deps = [
|
|
"//api/client/builder:go_default_library",
|
|
"//beacon-chain/blockchain:go_default_library",
|
|
"//beacon-chain/cache:go_default_library",
|
|
"//beacon-chain/db:go_default_library",
|
|
"//cmd/beacon-chain/flags:go_default_library",
|
|
"//consensus-types/interfaces:go_default_library",
|
|
"//consensus-types/primitives:go_default_library",
|
|
"//encoding/bytesutil:go_default_library",
|
|
"//monitoring/tracing:go_default_library",
|
|
"//proto/prysm/v1alpha1: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",
|
|
"@com_github_urfave_cli_v2//:go_default_library",
|
|
"@io_opencensus_go//trace:go_default_library",
|
|
],
|
|
)
|
|
|
|
go_test(
|
|
name = "go_default_test",
|
|
srcs = ["service_test.go"],
|
|
embed = [":go_default_library"],
|
|
deps = [
|
|
"//api/client/builder/testing:go_default_library",
|
|
"//beacon-chain/blockchain/testing:go_default_library",
|
|
"//beacon-chain/db/testing:go_default_library",
|
|
"//encoding/bytesutil:go_default_library",
|
|
"//proto/prysm/v1alpha1:go_default_library",
|
|
"//testing/assert:go_default_library",
|
|
"//testing/require:go_default_library",
|
|
],
|
|
)
|