2022-08-19 09:26:25 +00:00
|
|
|
load("@prysm//tools/go:def.bzl", "go_library", "go_test")
|
|
|
|
|
|
|
|
go_library(
|
|
|
|
name = "go_default_library",
|
|
|
|
srcs = [
|
|
|
|
"generate_genesis.go",
|
|
|
|
"testnet.go",
|
|
|
|
],
|
2024-02-15 05:46:47 +00:00
|
|
|
importpath = "github.com/prysmaticlabs/prysm/v5/cmd/prysmctl/testnet",
|
2022-08-19 09:26:25 +00:00
|
|
|
visibility = ["//visibility:public"],
|
|
|
|
deps = [
|
2022-11-23 14:22:24 +00:00
|
|
|
"//beacon-chain/state:go_default_library",
|
|
|
|
"//cmd/flags:go_default_library",
|
2022-08-19 09:26:25 +00:00
|
|
|
"//config/params:go_default_library",
|
2023-03-15 12:31:57 +00:00
|
|
|
"//container/trie:go_default_library",
|
2022-08-19 09:26:25 +00:00
|
|
|
"//io/file:go_default_library",
|
|
|
|
"//proto/prysm/v1alpha1:go_default_library",
|
|
|
|
"//runtime/interop:go_default_library",
|
2022-11-23 14:22:24 +00:00
|
|
|
"//runtime/version:go_default_library",
|
2023-04-13 17:19:06 +00:00
|
|
|
"@com_github_ethereum_go_ethereum//core:go_default_library",
|
2023-03-15 12:31:57 +00:00
|
|
|
"@com_github_ethereum_go_ethereum//ethclient:go_default_library",
|
|
|
|
"@com_github_ethereum_go_ethereum//rpc:go_default_library",
|
2022-08-19 09:26:25 +00:00
|
|
|
"@com_github_ghodss_yaml//:go_default_library",
|
|
|
|
"@com_github_pkg_errors//:go_default_library",
|
|
|
|
"@com_github_sirupsen_logrus//:go_default_library",
|
|
|
|
"@com_github_urfave_cli_v2//:go_default_library",
|
|
|
|
],
|
|
|
|
)
|
|
|
|
|
|
|
|
go_test(
|
|
|
|
name = "go_default_test",
|
|
|
|
srcs = ["generate_genesis_test.go"],
|
|
|
|
embed = [":go_default_library"],
|
|
|
|
deps = [
|
|
|
|
"//crypto/bls:go_default_library",
|
|
|
|
"//runtime/interop:go_default_library",
|
|
|
|
"//testing/assert:go_default_library",
|
|
|
|
"//testing/require:go_default_library",
|
|
|
|
],
|
|
|
|
)
|