mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2024-12-25 04:47:18 +00:00
1065617087
* first commit, remote att types * no more agg attestation proto * regen mock * only attestations * proto * att process * fix att references * more tests passing * use att protos * complete * Update dependency com_github_deckarep_golang_set to v1 (#1159) * Update dependency com_github_edsrzf_mmap_go to v1 (#1160) * Update dependency com_github_go_stack_stack to v1 (#1161) * Update dependency com_github_rs_cors to v1 (#1162) * Update dependency in_gopkg_urfave_cli_v1 to v1 (#1163) * change visibility
51 lines
1.6 KiB
Python
51 lines
1.6 KiB
Python
load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
|
|
|
|
go_library(
|
|
name = "go_default_library",
|
|
srcs = [
|
|
"attestation.go",
|
|
"block.go",
|
|
"block_vote_cache.go",
|
|
"cleanup_history.go",
|
|
"db.go",
|
|
"schema.go",
|
|
"simulator.go",
|
|
"state.go",
|
|
],
|
|
importpath = "github.com/prysmaticlabs/prysm/beacon-chain/db",
|
|
visibility = ["//beacon-chain:__subpackages__"],
|
|
deps = [
|
|
"//beacon-chain/core/attestations:go_default_library",
|
|
"//beacon-chain/core/blocks:go_default_library",
|
|
"//beacon-chain/core/types:go_default_library",
|
|
"//beacon-chain/utils:go_default_library",
|
|
"//proto/beacon/p2p/v1:go_default_library",
|
|
"//shared/bytes:go_default_library",
|
|
"@com_github_boltdb_bolt//:go_default_library",
|
|
"@com_github_gogo_protobuf//proto:go_default_library",
|
|
"@com_github_golang_protobuf//ptypes:go_default_library_gen",
|
|
],
|
|
)
|
|
|
|
go_test(
|
|
name = "go_default_test",
|
|
srcs = [
|
|
"attestation_test.go",
|
|
"block_test.go",
|
|
"block_vote_cache_test.go",
|
|
"cleanup_history_test.go",
|
|
"db_test.go",
|
|
"simulator_test.go",
|
|
"state_test.go",
|
|
],
|
|
embed = [":go_default_library"],
|
|
deps = [
|
|
"//beacon-chain/core/attestations:go_default_library",
|
|
"//beacon-chain/core/blocks:go_default_library",
|
|
"//beacon-chain/utils:go_default_library",
|
|
"//proto/beacon/p2p/v1:go_default_library",
|
|
"//shared/params:go_default_library",
|
|
"@com_github_gogo_protobuf//proto:go_default_library",
|
|
],
|
|
)
|