mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2025-01-07 18:21:20 +00:00
85653335f1
* Standardize params for BeaconChain and Validator projects * gofmt * various changes to bring up to standards * lint * linter 2, not sure why travis complains * revert service_test.go
40 lines
1.2 KiB
Python
40 lines
1.2 KiB
Python
load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
|
|
|
|
go_library(
|
|
name = "go_default_library",
|
|
srcs = [
|
|
"block_vote_cache.go",
|
|
"clock.go",
|
|
"flags.go",
|
|
"genesis_json.go",
|
|
"shuffle.go",
|
|
],
|
|
importpath = "github.com/prysmaticlabs/prysm/beacon-chain/utils",
|
|
visibility = ["//beacon-chain:__subpackages__"],
|
|
deps = [
|
|
"//proto/beacon/p2p/v1:go_default_library",
|
|
"//shared/hashutil:go_default_library",
|
|
"//shared/params:go_default_library",
|
|
"@com_github_ethereum_go_ethereum//common:go_default_library",
|
|
"@com_github_golang_protobuf//jsonpb:go_default_library_gen",
|
|
"@com_github_urfave_cli//:go_default_library",
|
|
],
|
|
)
|
|
|
|
go_test(
|
|
name = "go_default_test",
|
|
srcs = [
|
|
"block_vote_cache_test.go",
|
|
"clock_test.go",
|
|
"genesis_json_test.go",
|
|
"shuffle_test.go",
|
|
],
|
|
embed = [":go_default_library"],
|
|
deps = [
|
|
"//proto/beacon/p2p/v1:go_default_library",
|
|
"//shared/params:go_default_library",
|
|
"@com_github_ethereum_go_ethereum//common:go_default_library",
|
|
"@com_github_gogo_protobuf//jsonpb:go_default_library",
|
|
],
|
|
)
|