2021-06-30 19:22:09 +00:00
|
|
|
load("@prysm//tools/go:def.bzl", "go_library", "go_test")
|
2019-08-13 23:13:47 +00:00
|
|
|
|
|
|
|
go_library(
|
|
|
|
name = "go_default_library",
|
|
|
|
srcs = [
|
|
|
|
"deposits_cache.go",
|
2021-01-11 20:03:28 +00:00
|
|
|
"log.go",
|
2019-08-13 23:13:47 +00:00
|
|
|
"pending_deposits.go",
|
|
|
|
],
|
2024-02-15 05:46:47 +00:00
|
|
|
importpath = "github.com/prysmaticlabs/prysm/v5/beacon-chain/cache/depositcache",
|
2022-01-31 19:03:48 +00:00
|
|
|
visibility = [
|
|
|
|
"//beacon-chain:__subpackages__",
|
|
|
|
"//testing/spectest:__subpackages__",
|
|
|
|
],
|
2019-08-13 23:13:47 +00:00
|
|
|
deps = [
|
2023-09-07 03:19:32 +00:00
|
|
|
"//beacon-chain/cache:go_default_library",
|
2022-01-06 17:33:08 +00:00
|
|
|
"//config/fieldparams:go_default_library",
|
2021-09-21 19:59:25 +00:00
|
|
|
"//config/params:go_default_library",
|
2021-09-16 17:05:58 +00:00
|
|
|
"//container/trie:go_default_library",
|
2021-09-15 22:55:11 +00:00
|
|
|
"//crypto/hash: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",
|
2023-09-07 03:19:32 +00:00
|
|
|
"@com_github_ethereum_go_ethereum//common:go_default_library",
|
2021-04-29 12:24:13 +00:00
|
|
|
"@com_github_pkg_errors//:go_default_library",
|
2019-08-13 23:13:47 +00:00
|
|
|
"@com_github_prometheus_client_golang//prometheus:go_default_library",
|
|
|
|
"@com_github_prometheus_client_golang//prometheus/promauto:go_default_library",
|
|
|
|
"@com_github_sirupsen_logrus//:go_default_library",
|
|
|
|
"@io_opencensus_go//trace:go_default_library",
|
|
|
|
],
|
|
|
|
)
|
|
|
|
|
|
|
|
go_test(
|
|
|
|
name = "go_default_test",
|
|
|
|
srcs = [
|
2020-07-09 20:24:40 +00:00
|
|
|
"deposits_cache_test.go",
|
2019-08-13 23:13:47 +00:00
|
|
|
"pending_deposits_test.go",
|
|
|
|
],
|
|
|
|
embed = [":go_default_library"],
|
|
|
|
deps = [
|
2023-09-07 03:19:32 +00:00
|
|
|
"//beacon-chain/cache:go_default_library",
|
2021-09-21 19:59:25 +00:00
|
|
|
"//config/params:go_default_library",
|
2021-09-16 17:05:58 +00:00
|
|
|
"//container/trie: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",
|
2019-08-13 23:13:47 +00:00
|
|
|
"@com_github_sirupsen_logrus//hooks/test:go_default_library",
|
2021-05-17 18:32:04 +00:00
|
|
|
"@org_golang_google_protobuf//proto:go_default_library",
|
2019-08-13 23:13:47 +00:00
|
|
|
],
|
|
|
|
)
|