mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2024-12-25 12:57:18 +00:00
93195b762b
* add cache * Update beacon-chain/state/stateutil/blocks.go Co-Authored-By: terence tsao <terence@prysmaticlabs.com> * Update beacon-chain/state/stateutil/blocks.go Co-Authored-By: terence tsao <terence@prysmaticlabs.com> * Update beacon-chain/state/stateutil/hash_function.go Co-Authored-By: terence tsao <terence@prysmaticlabs.com> * Merge branch 'master' into improveHTR * add back string casting * fix imports
51 lines
1.7 KiB
Python
51 lines
1.7 KiB
Python
load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
|
|
|
|
go_library(
|
|
name = "go_default_library",
|
|
srcs = [
|
|
"arrays.go",
|
|
"attestations.go",
|
|
"blocks.go",
|
|
"hash_function.go",
|
|
"helpers.go",
|
|
"state_root.go",
|
|
"validators.go",
|
|
],
|
|
importpath = "github.com/prysmaticlabs/prysm/beacon-chain/state/stateutil",
|
|
visibility = [
|
|
"//beacon-chain:__subpackages__",
|
|
"//proto/testing:__subpackages__",
|
|
],
|
|
deps = [
|
|
"//proto/beacon/p2p/v1:go_default_library",
|
|
"//shared/bytesutil:go_default_library",
|
|
"//shared/featureconfig:go_default_library",
|
|
"//shared/hashutil:go_default_library",
|
|
"//shared/params:go_default_library",
|
|
"@com_github_dgraph_io_ristretto//:go_default_library",
|
|
"@com_github_minio_sha256_simd//:go_default_library",
|
|
"@com_github_pkg_errors//:go_default_library",
|
|
"@com_github_protolambda_zssz//merkle:go_default_library",
|
|
"@com_github_prysmaticlabs_ethereumapis//eth/v1alpha1:go_default_library",
|
|
"@com_github_prysmaticlabs_go_bitfield//:go_default_library",
|
|
],
|
|
)
|
|
|
|
go_test(
|
|
name = "go_default_test",
|
|
srcs = [
|
|
"state_root_cache_fuzz_test.go",
|
|
"state_root_test.go",
|
|
],
|
|
embed = [":go_default_library"],
|
|
deps = [
|
|
"//proto/beacon/p2p/v1:go_default_library",
|
|
"//shared/featureconfig:go_default_library",
|
|
"//shared/interop:go_default_library",
|
|
"//shared/params:go_default_library",
|
|
"@com_github_google_gofuzz//:go_default_library",
|
|
"@com_github_prysmaticlabs_ethereumapis//eth/v1alpha1:go_default_library",
|
|
"@com_github_prysmaticlabs_go_ssz//:go_default_library",
|
|
],
|
|
)
|