2021-06-30 19:22:09 +00:00
|
|
|
load("@prysm//tools/go:def.bzl", "go_library", "go_test")
|
2020-01-17 17:25:35 +00:00
|
|
|
|
|
|
|
go_library(
|
|
|
|
name = "go_default_library",
|
|
|
|
srcs = ["pregen.go"],
|
2021-09-14 19:18:15 +00:00
|
|
|
data = ["//testing/benchmark/benchmark_files:benchmark_data"],
|
2023-03-17 18:52:56 +00:00
|
|
|
importpath = "github.com/prysmaticlabs/prysm/v4/testing/benchmark",
|
2020-01-17 17:25:35 +00:00
|
|
|
visibility = ["//visibility:public"],
|
|
|
|
deps = [
|
2021-07-23 16:11:21 +00:00
|
|
|
"//beacon-chain/state:go_default_library",
|
2022-09-16 22:17:46 +00:00
|
|
|
"//beacon-chain/state/state-native:go_default_library",
|
2021-09-21 19:59:25 +00:00
|
|
|
"//config/params:go_default_library",
|
2021-07-21 21:34:07 +00:00
|
|
|
"//proto/prysm/v1alpha1:go_default_library",
|
2020-01-17 17:25:35 +00:00
|
|
|
"@io_bazel_rules_go//go/tools/bazel:go_default_library",
|
|
|
|
],
|
|
|
|
)
|
|
|
|
|
|
|
|
go_test(
|
|
|
|
name = "go_default_test",
|
|
|
|
srcs = ["pregen_test.go"],
|
|
|
|
embed = [":go_default_library"],
|
2021-09-23 18:53:46 +00:00
|
|
|
deps = ["//testing/require:go_default_library"],
|
2020-01-17 17:25:35 +00:00
|
|
|
)
|