mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2024-12-31 23:41:22 +00:00
90221c32cf
* implemented all the merkle func signatures * branch indices complete * check for index out of range in generating merkle proof * completed full tests for sparse merkle trie impl * lint * formatting * gazelle * commentary * ivan comments * fmt * bench tests * change old comment * goimport * partition travis
26 lines
627 B
Python
26 lines
627 B
Python
load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
|
|
|
|
go_library(
|
|
name = "go_default_library",
|
|
srcs = [
|
|
"deposit_trie.go",
|
|
"sparse_merkle.go",
|
|
],
|
|
importpath = "github.com/prysmaticlabs/prysm/shared/trieutil",
|
|
visibility = ["//visibility:public"],
|
|
deps = [
|
|
"//shared/hashutil:go_default_library",
|
|
"//shared/params:go_default_library",
|
|
],
|
|
)
|
|
|
|
go_test(
|
|
name = "go_default_test",
|
|
srcs = [
|
|
"deposit_trie_test.go",
|
|
"sparse_merkle_test.go",
|
|
],
|
|
embed = [":go_default_library"],
|
|
deps = ["//shared/hashutil:go_default_library"],
|
|
)
|