2021-06-30 19:22:09 +00:00
|
|
|
load("@prysm//tools/go:def.bzl", "go_library", "go_test")
|
2019-09-11 18:38:35 +00:00
|
|
|
|
|
|
|
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 = [
|
2020-04-14 20:27:03 +00:00
|
|
|
"//beacon-chain/core/helpers:go_default_library",
|
2019-09-11 18:38:35 +00:00
|
|
|
"//beacon-chain/core/state:go_default_library",
|
2021-06-30 15:06:19 +00:00
|
|
|
"//beacon-chain/state/v1:go_default_library",
|
2019-09-11 18:38:35 +00:00
|
|
|
"//proto/beacon/p2p/v1:go_default_library",
|
2021-06-02 23:49:52 +00:00
|
|
|
"//proto/eth/v1alpha1:go_default_library",
|
2019-09-11 18:38:35 +00:00
|
|
|
"//shared/bls:go_default_library",
|
|
|
|
"//shared/hashutil:go_default_library",
|
2019-11-03 21:25:52 +00:00
|
|
|
"//shared/mputil:go_default_library",
|
2019-09-11 18:38:35 +00:00
|
|
|
"//shared/params:go_default_library",
|
2020-09-22 11:49:58 +00:00
|
|
|
"//shared/timeutils:go_default_library",
|
2019-09-11 18:38:35 +00:00
|
|
|
"//shared/trieutil:go_default_library",
|
|
|
|
"@com_github_pkg_errors//:go_default_library",
|
|
|
|
],
|
|
|
|
)
|
|
|
|
|
|
|
|
go_test(
|
|
|
|
name = "go_default_test",
|
2019-09-14 14:46:38 +00:00
|
|
|
srcs = [
|
|
|
|
"generate_genesis_state_test.go",
|
|
|
|
"generate_keys_test.go",
|
|
|
|
],
|
|
|
|
data = [
|
|
|
|
"keygen_test_vector.yaml",
|
|
|
|
],
|
2019-09-11 18:38:35 +00:00
|
|
|
deps = [
|
2021-03-12 00:03:19 +00:00
|
|
|
":go_default_library",
|
2019-09-11 18:38:35 +00:00
|
|
|
"//beacon-chain/core/state:go_default_library",
|
2021-06-02 23:49:52 +00:00
|
|
|
"//proto/eth/v1alpha1:go_default_library",
|
2019-09-11 18:38:35 +00:00
|
|
|
"//shared/params:go_default_library",
|
2020-07-19 21:08:29 +00:00
|
|
|
"//shared/testutil/assert:go_default_library",
|
|
|
|
"//shared/testutil/require:go_default_library",
|
2019-09-11 18:38:35 +00:00
|
|
|
"//shared/trieutil:go_default_library",
|
2019-09-14 14:46:38 +00:00
|
|
|
"@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",
|
2019-09-11 18:38:35 +00:00
|
|
|
],
|
|
|
|
)
|