mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2024-12-26 13:18:57 +00:00
900e7114da
* update VerifyMerkleBranch to match ETH2.0 spec * Merge branch 'master' into 6705-refactor-verify-merkle-branch * Make depth a parameter of VerifyMerkleBranch * Merge branch '6705-refactor-verify-merkle-branch' of github.com-fabdarice:fabdarice/prysm into 6705-refactor-verify-merkle-branch * Merge branch 'master' into 6705-refactor-verify-merkle-branch * loop instead of appending * Merge branch 'master' of https://github.com/prysmaticlabs/prysm into 6705-refactor-verify-merkle-branch * Merge branch 'master' of https://github.com/prysmaticlabs/prysm into 6705-refactor-verify-merkle-branch * fix int conversion * Merge branch 'master' of https://github.com/prysmaticlabs/prysm into 6705-refactor-verify-merkle-branch * Merge branch '6705-refactor-verify-merkle-branch' of github.com-fabdarice:fabdarice/prysm into 6705-refactor-verify-merkle-branch * Merge branch 'master' into 6705-refactor-verify-merkle-branch * fix keymanagerv2 tests * revert print * merge conflict * fix bug during merge * Merge branch 'master' into 6705-refactor-verify-merkle-branch * Merge branch 'master' into 6705-refactor-verify-merkle-branch
40 lines
1.2 KiB
Python
40 lines
1.2 KiB
Python
load("@prysm//tools/go:def.bzl", "go_library")
|
|
load("@io_bazel_rules_go//go:def.bzl", "go_test")
|
|
|
|
go_library(
|
|
name = "go_default_library",
|
|
srcs = [
|
|
"helpers.go",
|
|
"sparse_merkle.go",
|
|
"zerohashes.go",
|
|
],
|
|
importpath = "github.com/prysmaticlabs/prysm/shared/trieutil",
|
|
visibility = ["//visibility:public"],
|
|
deps = [
|
|
"//proto/beacon/db:go_default_library",
|
|
"//shared/bytesutil:go_default_library",
|
|
"//shared/hashutil:go_default_library",
|
|
"//shared/mathutil:go_default_library",
|
|
"//shared/params:go_default_library",
|
|
],
|
|
)
|
|
|
|
go_test(
|
|
name = "go_default_test",
|
|
size = "small",
|
|
srcs = [
|
|
"helpers_test.go",
|
|
"sparse_merkle_test.go",
|
|
],
|
|
embed = [":go_default_library"],
|
|
deps = [
|
|
"//contracts/deposit-contract:go_default_library",
|
|
"//shared/bytesutil:go_default_library",
|
|
"//shared/hashutil:go_default_library",
|
|
"//shared/params:go_default_library",
|
|
"//shared/testutil/require:go_default_library",
|
|
"@com_github_ethereum_go_ethereum//accounts/abi/bind:go_default_library",
|
|
"@com_github_prysmaticlabs_ethereumapis//eth/v1alpha1:go_default_library",
|
|
],
|
|
)
|