mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2025-01-03 08:37:37 +00:00
0b0d77dd0c
* multilock addition with tests and special clean logic on unlock * bazel changes * multilock key string concat * Update beacon-chain/blockchain/process_attestation_helpers.go Co-authored-by: Victor Farazdagi <simple.square@gmail.com> * presto feedback * revert in prog cache * defer unlock Co-authored-by: Victor Farazdagi <simple.square@gmail.com>
30 lines
780 B
Python
30 lines
780 B
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 = [
|
|
"multilock.go",
|
|
"scatter.go",
|
|
],
|
|
importpath = "github.com/prysmaticlabs/prysm/shared/mputil",
|
|
visibility = ["//visibility:public"],
|
|
)
|
|
|
|
go_test(
|
|
name = "go_default_test",
|
|
size = "small",
|
|
srcs = [
|
|
"benchmark_test.go",
|
|
"multilock_test.go",
|
|
"scatter_test.go",
|
|
],
|
|
embed = [":go_default_library"],
|
|
deps = [
|
|
"//shared/testutil/assert:go_default_library",
|
|
"//shared/testutil/require:go_default_library",
|
|
"@com_github_sirupsen_logrus//:go_default_library",
|
|
"@com_github_stretchr_testify//assert:go_default_library",
|
|
],
|
|
)
|