2021-06-30 19:22:09 +00:00
|
|
|
load("@prysm//tools/go:def.bzl", "go_library", "go_test")
|
2021-03-22 15:19:38 +00:00
|
|
|
|
|
|
|
go_library(
|
|
|
|
name = "go_default_library",
|
2023-03-28 16:44:41 +00:00
|
|
|
srcs = [
|
|
|
|
"blocker.go",
|
|
|
|
"stater.go",
|
|
|
|
],
|
2024-02-15 05:46:47 +00:00
|
|
|
importpath = "github.com/prysmaticlabs/prysm/v5/beacon-chain/rpc/lookup",
|
2023-03-28 16:44:41 +00:00
|
|
|
visibility = ["//visibility:public"],
|
2021-03-22 15:19:38 +00:00
|
|
|
deps = [
|
|
|
|
"//beacon-chain/blockchain:go_default_library",
|
|
|
|
"//beacon-chain/db:go_default_library",
|
2023-12-07 17:37:11 +00:00
|
|
|
"//beacon-chain/db/filesystem:go_default_library",
|
|
|
|
"//beacon-chain/rpc/core:go_default_library",
|
2021-07-23 16:11:21 +00:00
|
|
|
"//beacon-chain/state:go_default_library",
|
2021-03-22 15:19:38 +00:00
|
|
|
"//beacon-chain/state/stategen:go_default_library",
|
2023-12-07 17:37:11 +00:00
|
|
|
"//config/fieldparams:go_default_library",
|
2022-03-23 22:54:07 +00:00
|
|
|
"//config/params:go_default_library",
|
2022-08-02 15:30:46 +00:00
|
|
|
"//consensus-types/blocks:go_default_library",
|
2023-03-28 16:44:41 +00:00
|
|
|
"//consensus-types/interfaces:go_default_library",
|
2022-04-29 14:32:11 +00:00
|
|
|
"//consensus-types/primitives:go_default_library",
|
2021-09-23 15:23:37 +00:00
|
|
|
"//encoding/bytesutil:go_default_library",
|
2023-01-12 10:00:12 +00:00
|
|
|
"//time/slots:go_default_library",
|
2023-10-03 05:52:29 +00:00
|
|
|
"@com_github_ethereum_go_ethereum//common/hexutil:go_default_library",
|
2021-03-22 15:19:38 +00:00
|
|
|
"@com_github_pkg_errors//:go_default_library",
|
2024-01-23 20:07:46 +00:00
|
|
|
"@com_github_sirupsen_logrus//:go_default_library",
|
2022-03-09 19:33:18 +00:00
|
|
|
"@io_opencensus_go//trace:go_default_library",
|
2021-03-22 15:19:38 +00:00
|
|
|
],
|
|
|
|
)
|
|
|
|
|
|
|
|
go_test(
|
|
|
|
name = "go_default_test",
|
2023-03-28 16:44:41 +00:00
|
|
|
srcs = [
|
|
|
|
"blocker_test.go",
|
|
|
|
"stater_test.go",
|
|
|
|
],
|
2021-03-22 15:19:38 +00:00
|
|
|
embed = [":go_default_library"],
|
|
|
|
deps = [
|
|
|
|
"//beacon-chain/blockchain/testing:go_default_library",
|
2023-12-07 17:37:11 +00:00
|
|
|
"//beacon-chain/db/filesystem:go_default_library",
|
2021-03-22 15:19:38 +00:00
|
|
|
"//beacon-chain/db/testing:go_default_library",
|
2023-12-07 17:37:11 +00:00
|
|
|
"//beacon-chain/rpc/core:go_default_library",
|
2023-03-28 16:44:41 +00:00
|
|
|
"//beacon-chain/rpc/testutil:go_default_library",
|
2022-06-21 23:13:19 +00:00
|
|
|
"//beacon-chain/state/state-native:go_default_library",
|
2022-03-09 19:33:18 +00:00
|
|
|
"//beacon-chain/state/stategen:go_default_library",
|
2022-01-26 14:48:20 +00:00
|
|
|
"//beacon-chain/state/stategen/mock:go_default_library",
|
2023-12-07 17:37:11 +00:00
|
|
|
"//beacon-chain/verification:go_default_library",
|
2021-09-21 19:59:25 +00:00
|
|
|
"//config/params:go_default_library",
|
2022-08-02 15:30:46 +00:00
|
|
|
"//consensus-types/blocks:go_default_library",
|
2022-04-29 14:32:11 +00:00
|
|
|
"//consensus-types/primitives:go_default_library",
|
2021-09-23 15:23:37 +00:00
|
|
|
"//encoding/bytesutil: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",
|
|
|
|
"//testing/util:go_default_library",
|
2021-03-22 15:19:38 +00:00
|
|
|
"@com_github_ethereum_go_ethereum//common/hexutil:go_default_library",
|
|
|
|
],
|
|
|
|
)
|