2021-08-09 21:54:24 +00:00
|
|
|
load("@prysm//tools/go:def.bzl", "go_library", "go_test")
|
|
|
|
|
|
|
|
go_library(
|
|
|
|
name = "go_default_library",
|
|
|
|
srcs = [
|
|
|
|
"field_trie.go",
|
|
|
|
"field_trie_helpers.go",
|
|
|
|
],
|
2023-03-17 18:52:56 +00:00
|
|
|
importpath = "github.com/prysmaticlabs/prysm/v4/beacon-chain/state/fieldtrie",
|
2021-08-09 21:54:24 +00:00
|
|
|
visibility = ["//beacon-chain:__subpackages__"],
|
|
|
|
deps = [
|
2022-02-02 12:18:06 +00:00
|
|
|
"//beacon-chain/state/state-native/custom-types:go_default_library",
|
2022-05-09 13:02:34 +00:00
|
|
|
"//beacon-chain/state/state-native/types:go_default_library",
|
2021-08-09 21:54:24 +00:00
|
|
|
"//beacon-chain/state/stateutil:go_default_library",
|
2021-11-19 12:01:15 +00:00
|
|
|
"//encoding/bytesutil:go_default_library",
|
2022-03-11 09:34:30 +00:00
|
|
|
"//math:go_default_library",
|
2021-08-09 21:54:24 +00:00
|
|
|
"//proto/prysm/v1alpha1:go_default_library",
|
|
|
|
"@com_github_pkg_errors//:go_default_library",
|
|
|
|
],
|
|
|
|
)
|
|
|
|
|
|
|
|
go_test(
|
|
|
|
name = "go_default_test",
|
|
|
|
srcs = [
|
|
|
|
"field_trie_test.go",
|
|
|
|
"helpers_test.go",
|
|
|
|
],
|
2022-05-26 05:17:34 +00:00
|
|
|
data = glob(["testdata/**"]),
|
2021-08-09 21:54:24 +00:00
|
|
|
embed = [":go_default_library"],
|
|
|
|
deps = [
|
2022-08-16 16:19:01 +00:00
|
|
|
"//beacon-chain/state/state-native/custom-types:go_default_library",
|
|
|
|
"//beacon-chain/state/state-native/types:go_default_library",
|
2021-11-19 12:01:15 +00:00
|
|
|
"//beacon-chain/state/stateutil:go_default_library",
|
2022-08-16 16:19:01 +00:00
|
|
|
"//config/fieldparams:go_default_library",
|
2021-09-21 19:59:25 +00:00
|
|
|
"//config/params:go_default_library",
|
2022-04-29 14:32:11 +00:00
|
|
|
"//consensus-types/primitives:go_default_library",
|
2021-08-09 21:54:24 +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",
|
2022-08-16 16:19:01 +00:00
|
|
|
"@com_github_ethereum_go_ethereum//common/hexutil:go_default_library",
|
2021-08-09 21:54:24 +00:00
|
|
|
],
|
|
|
|
)
|