2022-05-03 20:59:07 +00:00
|
|
|
load("@prysm//tools/go:def.bzl", "go_library", "go_test")
|
2022-01-31 19:03:48 +00:00
|
|
|
|
|
|
|
go_library(
|
|
|
|
name = "go_default_library",
|
|
|
|
testonly = True,
|
|
|
|
srcs = [
|
2022-05-03 20:59:07 +00:00
|
|
|
"builder.go",
|
2022-01-31 19:03:48 +00:00
|
|
|
"runner.go",
|
|
|
|
"service.go",
|
|
|
|
"type.go",
|
|
|
|
],
|
2022-08-16 12:20:13 +00:00
|
|
|
importpath = "github.com/prysmaticlabs/prysm/v3/testing/spectest/shared/common/forkchoice",
|
2022-01-31 19:03:48 +00:00
|
|
|
visibility = ["//testing/spectest:__subpackages__"],
|
|
|
|
deps = [
|
|
|
|
"//beacon-chain/blockchain:go_default_library",
|
|
|
|
"//beacon-chain/blockchain/testing:go_default_library",
|
2022-04-06 23:36:52 +00:00
|
|
|
"//beacon-chain/cache:go_default_library",
|
2022-01-31 19:03:48 +00:00
|
|
|
"//beacon-chain/cache/depositcache:go_default_library",
|
|
|
|
"//beacon-chain/core/time:go_default_library",
|
2022-05-23 23:08:24 +00:00
|
|
|
"//beacon-chain/core/transition:go_default_library",
|
2022-01-31 19:03:48 +00:00
|
|
|
"//beacon-chain/db/testing:go_default_library",
|
|
|
|
"//beacon-chain/forkchoice/protoarray:go_default_library",
|
|
|
|
"//beacon-chain/operations/attestations:go_default_library",
|
|
|
|
"//beacon-chain/state:go_default_library",
|
|
|
|
"//beacon-chain/state/stategen:go_default_library",
|
|
|
|
"//beacon-chain/state/v1:go_default_library",
|
|
|
|
"//beacon-chain/state/v2:go_default_library",
|
|
|
|
"//beacon-chain/state/v3:go_default_library",
|
|
|
|
"//config/fieldparams:go_default_library",
|
|
|
|
"//config/params:go_default_library",
|
2022-08-02 15:30:46 +00:00
|
|
|
"//consensus-types/blocks:go_default_library",
|
2022-05-02 18:32:37 +00:00
|
|
|
"//consensus-types/interfaces:go_default_library",
|
2022-04-29 14:32:11 +00:00
|
|
|
"//consensus-types/primitives:go_default_library",
|
2022-01-31 19:03:48 +00:00
|
|
|
"//encoding/bytesutil:go_default_library",
|
2022-03-17 05:30:44 +00:00
|
|
|
"//proto/engine/v1:go_default_library",
|
2022-01-31 19:03:48 +00:00
|
|
|
"//proto/prysm/v1alpha1:go_default_library",
|
|
|
|
"//runtime/version:go_default_library",
|
|
|
|
"//testing/require:go_default_library",
|
|
|
|
"//testing/spectest/utils:go_default_library",
|
|
|
|
"//testing/util:go_default_library",
|
|
|
|
"@com_github_ethereum_go_ethereum//common:go_default_library",
|
2022-03-17 05:30:44 +00:00
|
|
|
"@com_github_ethereum_go_ethereum//common/hexutil:go_default_library",
|
2022-07-06 22:06:00 +00:00
|
|
|
"@com_github_ethereum_go_ethereum//core/types:go_default_library",
|
2022-01-31 19:03:48 +00:00
|
|
|
"@com_github_golang_snappy//:go_default_library",
|
|
|
|
],
|
|
|
|
)
|
2022-05-03 20:59:07 +00:00
|
|
|
|
|
|
|
go_test(
|
|
|
|
name = "go_default_test",
|
|
|
|
srcs = ["builder_test.go"],
|
|
|
|
embed = [":go_default_library"],
|
|
|
|
deps = [
|
2022-08-02 15:30:46 +00:00
|
|
|
"//consensus-types/blocks:go_default_library",
|
2022-05-03 20:59:07 +00:00
|
|
|
"//proto/prysm/v1alpha1:go_default_library",
|
|
|
|
"//testing/require:go_default_library",
|
|
|
|
"//testing/util:go_default_library",
|
|
|
|
],
|
|
|
|
)
|