mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2024-12-25 21:07:18 +00:00
6bea17cb54
* Update libp2p to support go 1.19 * gaz * go mod tidy * Only update the minimum deps * go mod tidy * revert .bazelrc * Update go-libp2p to v0.22.0 and update import paths (#11440) * Fix import paths * Fix go-libp2p-peerstore import * Bazel updates * fix * revert some comments changes * revert some comment stuff * fix dependency issues * vendor problematic library * use your brain * remove * tests Co-authored-by: Marco Munizaga <marco@marcopolo.io> Co-authored-by: Nishant Das <nishdas93@gmail.com>
64 lines
2.6 KiB
Python
64 lines
2.6 KiB
Python
load("@prysm//tools/go:def.bzl", "go_library", "go_test")
|
|
|
|
go_library(
|
|
name = "go_default_library",
|
|
srcs = [
|
|
"block.go",
|
|
"p2p.go",
|
|
"server.go",
|
|
"state.go",
|
|
],
|
|
importpath = "github.com/prysmaticlabs/prysm/v3/beacon-chain/rpc/prysm/v1alpha1/debug",
|
|
visibility = ["//beacon-chain:__subpackages__"],
|
|
deps = [
|
|
"//beacon-chain/blockchain:go_default_library",
|
|
"//beacon-chain/core/helpers:go_default_library",
|
|
"//beacon-chain/db:go_default_library",
|
|
"//beacon-chain/db/filters:go_default_library",
|
|
"//beacon-chain/p2p:go_default_library",
|
|
"//beacon-chain/state:go_default_library",
|
|
"//beacon-chain/state/stategen:go_default_library",
|
|
"//config/params:go_default_library",
|
|
"//consensus-types/primitives:go_default_library",
|
|
"//encoding/bytesutil:go_default_library",
|
|
"//proto/prysm/v1alpha1:go_default_library",
|
|
"//proto/prysm/v1alpha1/attestation:go_default_library",
|
|
"@com_github_ethereum_go_ethereum//log:go_default_library",
|
|
"@com_github_ipfs_go_log_v2//:go_default_library",
|
|
"@com_github_libp2p_go_libp2p//core/network:go_default_library",
|
|
"@com_github_libp2p_go_libp2p//core/peer:go_default_library",
|
|
"@com_github_sirupsen_logrus//:go_default_library",
|
|
"@io_bazel_rules_go//proto/wkt:empty_go_proto",
|
|
"@org_golang_google_grpc//codes:go_default_library",
|
|
"@org_golang_google_grpc//status:go_default_library",
|
|
],
|
|
)
|
|
|
|
go_test(
|
|
name = "go_default_test",
|
|
srcs = [
|
|
"block_test.go",
|
|
"p2p_test.go",
|
|
"state_test.go",
|
|
],
|
|
embed = [":go_default_library"],
|
|
deps = [
|
|
"//beacon-chain/blockchain/testing:go_default_library",
|
|
"//beacon-chain/core/helpers:go_default_library",
|
|
"//beacon-chain/db/testing:go_default_library",
|
|
"//beacon-chain/forkchoice/doubly-linked-tree:go_default_library",
|
|
"//beacon-chain/p2p/testing:go_default_library",
|
|
"//beacon-chain/state/stategen:go_default_library",
|
|
"//beacon-chain/state/stategen/mock:go_default_library",
|
|
"//config/fieldparams:go_default_library",
|
|
"//config/params:go_default_library",
|
|
"//consensus-types/primitives:go_default_library",
|
|
"//proto/prysm/v1alpha1:go_default_library",
|
|
"//testing/assert:go_default_library",
|
|
"//testing/require:go_default_library",
|
|
"//testing/util:go_default_library",
|
|
"@com_github_prysmaticlabs_go_bitfield//:go_default_library",
|
|
"@io_bazel_rules_go//proto/wkt:empty_go_proto",
|
|
],
|
|
)
|