prysm-pulse/shared/trieutil/BUILD.bazel
Raul Jordan 90221c32cf
Implement Updated Sparse Merkle Trie as a Utility for Deposit Processing (#1928)
* 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
2019-03-08 15:47:28 -06:00

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"],
)