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",
|
2021-03-24 09:08:39 +00:00
|
|
|
srcs = ["fetcher.go"],
|
2022-08-16 12:20:13 +00:00
|
|
|
importpath = "github.com/prysmaticlabs/prysm/v3/beacon-chain/rpc/statefetcher",
|
2021-03-22 15:19:38 +00:00
|
|
|
visibility = ["//beacon-chain:__subpackages__"],
|
|
|
|
deps = [
|
|
|
|
"//beacon-chain/blockchain:go_default_library",
|
|
|
|
"//beacon-chain/db: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",
|
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",
|
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-03-22 15:19:38 +00:00
|
|
|
"@com_github_pkg_errors//: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",
|
2021-03-24 09:08:39 +00:00
|
|
|
srcs = ["fetcher_test.go"],
|
2021-03-22 15:19:38 +00:00
|
|
|
embed = [":go_default_library"],
|
|
|
|
deps = [
|
|
|
|
"//beacon-chain/blockchain/testing:go_default_library",
|
|
|
|
"//beacon-chain/db/testing: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",
|
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",
|
|
|
|
],
|
|
|
|
)
|