2022-05-20 08:12:52 +00:00
|
|
|
load("@prysm//tools/go:def.bzl", "go_library", "go_test")
|
|
|
|
|
|
|
|
go_library(
|
|
|
|
name = "go_default_library",
|
|
|
|
srcs = ["fdlimits.go"],
|
2024-02-15 05:46:47 +00:00
|
|
|
importpath = "github.com/prysmaticlabs/prysm/v5/runtime/fdlimits",
|
2022-05-20 08:12:52 +00:00
|
|
|
visibility = ["//visibility:public"],
|
|
|
|
deps = [
|
|
|
|
"@com_github_ethereum_go_ethereum//common/fdlimit:go_default_library",
|
|
|
|
"@com_github_sirupsen_logrus//:go_default_library",
|
|
|
|
],
|
|
|
|
)
|
|
|
|
|
|
|
|
go_test(
|
|
|
|
name = "go_default_test",
|
|
|
|
srcs = ["fdlimits_test.go"],
|
|
|
|
deps = [
|
|
|
|
":go_default_library",
|
|
|
|
"//testing/assert:go_default_library",
|
|
|
|
"@com_github_ethereum_go_ethereum//common/fdlimit:go_default_library",
|
|
|
|
],
|
|
|
|
)
|