mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2025-01-07 18:21:20 +00:00
16b04699d0
* polling interval * adding proto message * changing proto messages * changing naming * adding slot functionality * initial sync working * new changes * more sync fixes * its working now * finally working * add tests * fix tests * tests * adding tests * lint * log checks * making changes to simulator * update logs * fix tests * get sync to work with crystallized state * fixing race * making requested changes * unexport * documentation * gazelle and fix merge conflicts * adding repeated requests * fix lint * adding new clock , db methods, and util func * revert change to test * gazelle * add in test * gazelle * finally working * save slot * fix lint and constant
44 lines
1.2 KiB
Python
44 lines
1.2 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",
|
|
"db.go",
|
|
"schema.go",
|
|
"simulator.go",
|
|
"state.go",
|
|
],
|
|
importpath = "github.com/prysmaticlabs/prysm/beacon-chain/db",
|
|
visibility = ["//beacon-chain:__subpackages__"],
|
|
deps = [
|
|
"//beacon-chain/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",
|
|
],
|
|
)
|
|
|
|
go_test(
|
|
name = "go_default_test",
|
|
srcs = [
|
|
"attestation_test.go",
|
|
"block_test.go",
|
|
"block_vote_cache_test.go",
|
|
"db_test.go",
|
|
"simulator_test.go",
|
|
"state_test.go",
|
|
],
|
|
embed = [":go_default_library"],
|
|
deps = [
|
|
"//beacon-chain/types:go_default_library",
|
|
"//beacon-chain/utils:go_default_library",
|
|
"//proto/beacon/p2p/v1:go_default_library",
|
|
"//shared/params:go_default_library",
|
|
],
|
|
)
|