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",
|
2022-12-13 23:13:49 +00:00
|
|
|
"generate_genesis_state_bellatrix.go",
|
2019-09-11 18:38:35 +00:00
|
|
|
"generate_keys.go",
|
2023-04-13 17:19:06 +00:00
|
|
|
"genesis.go",
|
|
|
|
"premine-state.go",
|
2022-12-21 04:43:29 +00:00
|
|
|
"premined_genesis_state.go",
|
2019-09-11 18:38:35 +00:00
|
|
|
],
|
2024-02-15 05:46:47 +00:00
|
|
|
importpath = "github.com/prysmaticlabs/prysm/v5/runtime/interop",
|
2019-09-11 18:38:35 +00:00
|
|
|
visibility = ["//visibility:public"],
|
|
|
|
deps = [
|
2021-09-18 17:26:11 +00:00
|
|
|
"//async:go_default_library",
|
2023-04-13 17:19:06 +00:00
|
|
|
"//beacon-chain/core/altair:go_default_library",
|
|
|
|
"//beacon-chain/core/blocks:go_default_library",
|
|
|
|
"//beacon-chain/core/helpers:go_default_library",
|
2021-09-27 16:19:20 +00:00
|
|
|
"//beacon-chain/core/signing:go_default_library",
|
2021-09-08 10:41:47 +00:00
|
|
|
"//beacon-chain/core/transition:go_default_library",
|
2023-04-13 17:19:06 +00:00
|
|
|
"//beacon-chain/state:go_default_library",
|
2022-05-09 13:02:34 +00:00
|
|
|
"//beacon-chain/state/state-native:go_default_library",
|
2023-04-13 17:19:06 +00:00
|
|
|
"//beacon-chain/state/stateutil:go_default_library",
|
|
|
|
"//config/fieldparams:go_default_library",
|
2021-09-21 19:59:25 +00:00
|
|
|
"//config/params:go_default_library",
|
2023-04-13 17:19:06 +00:00
|
|
|
"//consensus-types/blocks:go_default_library",
|
2023-05-03 04:34:01 +00:00
|
|
|
"//consensus-types/interfaces:go_default_library",
|
2021-09-16 17:05:58 +00:00
|
|
|
"//container/trie:go_default_library",
|
2021-09-15 22:55:11 +00:00
|
|
|
"//crypto/bls:go_default_library",
|
|
|
|
"//crypto/hash:go_default_library",
|
2022-01-11 18:42:03 +00:00
|
|
|
"//encoding/bytesutil:go_default_library",
|
2022-12-13 23:13:49 +00:00
|
|
|
"//proto/engine/v1:go_default_library",
|
2021-07-21 21:34:07 +00:00
|
|
|
"//proto/prysm/v1alpha1:go_default_library",
|
2023-04-13 17:19:06 +00:00
|
|
|
"//runtime/version:go_default_library",
|
2021-09-15 00:09:04 +00:00
|
|
|
"//time:go_default_library",
|
2023-04-13 17:19:06 +00:00
|
|
|
"//time/slots:go_default_library",
|
|
|
|
"@com_github_ethereum_go_ethereum//common:go_default_library",
|
|
|
|
"@com_github_ethereum_go_ethereum//common/hexutil:go_default_library",
|
|
|
|
"@com_github_ethereum_go_ethereum//core:go_default_library",
|
|
|
|
"@com_github_ethereum_go_ethereum//core/types:go_default_library",
|
|
|
|
"@com_github_ethereum_go_ethereum//params:go_default_library",
|
2019-09-11 18:38:35 +00:00
|
|
|
"@com_github_pkg_errors//:go_default_library",
|
|
|
|
],
|
|
|
|
)
|
|
|
|
|
|
|
|
go_test(
|
|
|
|
name = "go_default_test",
|
2019-09-14 14:46:38 +00:00
|
|
|
srcs = [
|
2022-12-13 23:13:49 +00:00
|
|
|
"generate_genesis_state_bellatrix_test.go",
|
2019-09-14 14:46:38 +00:00
|
|
|
"generate_genesis_state_test.go",
|
|
|
|
"generate_keys_test.go",
|
|
|
|
],
|
|
|
|
data = [
|
|
|
|
"keygen_test_vector.yaml",
|
|
|
|
],
|
2022-12-13 23:13:49 +00:00
|
|
|
embed = [":go_default_library"],
|
2019-09-11 18:38:35 +00:00
|
|
|
deps = [
|
2021-09-08 10:41:47 +00:00
|
|
|
"//beacon-chain/core/transition:go_default_library",
|
2022-12-13 23:13:49 +00:00
|
|
|
"//beacon-chain/state/state-native:go_default_library",
|
2021-09-21 19:59:25 +00:00
|
|
|
"//config/params:go_default_library",
|
2021-09-16 17:05:58 +00:00
|
|
|
"//container/trie:go_default_library",
|
2022-12-13 23:13:49 +00:00
|
|
|
"//proto/engine/v1:go_default_library",
|
2021-07-21 21:34:07 +00:00
|
|
|
"//proto/prysm/v1alpha1:go_default_library",
|
2021-09-23 18:53:46 +00:00
|
|
|
"//testing/assert:go_default_library",
|
|
|
|
"//testing/require: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
|
|
|
],
|
|
|
|
)
|