mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2024-12-25 04:47:18 +00:00
661cbc45ae
* add changes * fix tests * change to minute * remove dep * remove * fix tests * add test for period * improve * linter * build files * ci * make it stricter * fix tests * fix * Update beacon-chain/sync/rate_limiter.go Co-authored-by: Preston Van Loon <preston@prysmaticlabs.com> Co-authored-by: terencechain <terence@prysmaticlabs.com> Co-authored-by: Preston Van Loon <preston@prysmaticlabs.com>
23 lines
497 B
Python
23 lines
497 B
Python
load("@prysm//tools/go:def.bzl", "go_library", "go_test")
|
|
|
|
go_library(
|
|
name = "go_default_library",
|
|
srcs = [
|
|
"collector.go",
|
|
"heap.go",
|
|
"leakybucket.go",
|
|
],
|
|
importpath = "github.com/prysmaticlabs/prysm/v3/container/leaky-bucket",
|
|
visibility = ["//visibility:public"],
|
|
)
|
|
|
|
go_test(
|
|
name = "go_default_test",
|
|
srcs = [
|
|
"collector_test.go",
|
|
"heap_test.go",
|
|
"leakybucket_test.go",
|
|
],
|
|
embed = [":go_default_library"],
|
|
)
|