mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2024-12-25 12:57:18 +00:00
d6bd619429
* Add build transitions for minimal config based tests * respect existing gotags * clean up import * Add some commentary * gaz Co-authored-by: terence tsao <terence@prysmaticlabs.com> Co-authored-by: rauljordan <raul@prysmaticlabs.com>
49 lines
1.6 KiB
Python
49 lines
1.6 KiB
Python
load("@prysm//tools/go:def.bzl", "go_library", "go_test")
|
|
|
|
go_library(
|
|
name = "go_default_library",
|
|
srcs = [
|
|
"generate_genesis_state.go",
|
|
"generate_keys.go",
|
|
],
|
|
importpath = "github.com/prysmaticlabs/prysm/shared/interop",
|
|
visibility = ["//visibility:public"],
|
|
deps = [
|
|
"//beacon-chain/core/helpers:go_default_library",
|
|
"//beacon-chain/core/state:go_default_library",
|
|
"//beacon-chain/state/v1:go_default_library",
|
|
"//proto/beacon/p2p/v1:go_default_library",
|
|
"//proto/eth/v1alpha1:go_default_library",
|
|
"//shared/bls:go_default_library",
|
|
"//shared/hashutil:go_default_library",
|
|
"//shared/mputil:go_default_library",
|
|
"//shared/params:go_default_library",
|
|
"//shared/timeutils:go_default_library",
|
|
"//shared/trieutil:go_default_library",
|
|
"@com_github_pkg_errors//:go_default_library",
|
|
],
|
|
)
|
|
|
|
go_test(
|
|
name = "go_default_test",
|
|
srcs = [
|
|
"generate_genesis_state_test.go",
|
|
"generate_keys_test.go",
|
|
],
|
|
data = [
|
|
"keygen_test_vector.yaml",
|
|
],
|
|
deps = [
|
|
":go_default_library",
|
|
"//beacon-chain/core/state:go_default_library",
|
|
"//proto/eth/v1alpha1:go_default_library",
|
|
"//shared/params:go_default_library",
|
|
"//shared/testutil/assert:go_default_library",
|
|
"//shared/testutil/require:go_default_library",
|
|
"//shared/trieutil:go_default_library",
|
|
"@com_github_ethereum_go_ethereum//common/hexutil:go_default_library",
|
|
"@com_github_go_yaml_yaml//:go_default_library",
|
|
"@io_bazel_rules_go//go/tools/bazel:go_default_library",
|
|
],
|
|
)
|