mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2024-12-26 05:17:22 +00:00
dd65622441
* make it more efficient * radek's review * review again
44 lines
1.5 KiB
Python
44 lines
1.5 KiB
Python
load("@prysm//tools/go:def.bzl", "go_library", "go_test")
|
|
|
|
go_library(
|
|
name = "go_default_library",
|
|
srcs = [
|
|
"field_trie.go",
|
|
"field_trie_helpers.go",
|
|
],
|
|
importpath = "github.com/prysmaticlabs/prysm/beacon-chain/state/fieldtrie",
|
|
visibility = ["//beacon-chain:__subpackages__"],
|
|
deps = [
|
|
"//beacon-chain/state/state-native/custom-types:go_default_library",
|
|
"//beacon-chain/state/state-native/types:go_default_library",
|
|
"//beacon-chain/state/stateutil:go_default_library",
|
|
"//beacon-chain/state/types:go_default_library",
|
|
"//crypto/hash:go_default_library",
|
|
"//encoding/bytesutil:go_default_library",
|
|
"//math:go_default_library",
|
|
"//proto/prysm/v1alpha1:go_default_library",
|
|
"//runtime/version:go_default_library",
|
|
"@com_github_pkg_errors//:go_default_library",
|
|
],
|
|
)
|
|
|
|
go_test(
|
|
name = "go_default_test",
|
|
srcs = [
|
|
"field_trie_test.go",
|
|
"helpers_test.go",
|
|
],
|
|
data = glob(["testdata/**"]),
|
|
embed = [":go_default_library"],
|
|
deps = [
|
|
"//beacon-chain/state/stateutil:go_default_library",
|
|
"//beacon-chain/state/types:go_default_library",
|
|
"//config/params:go_default_library",
|
|
"//consensus-types/primitives:go_default_library",
|
|
"//proto/prysm/v1alpha1:go_default_library",
|
|
"//testing/assert:go_default_library",
|
|
"//testing/require:go_default_library",
|
|
"//testing/util:go_default_library",
|
|
],
|
|
)
|