mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2024-12-25 21:07:18 +00:00
c21e43e4c5
* Move necessary functions beacon-chain/core/time -> time/slots * Fix fuzz * Fix build * Update slot_epoch.go
51 lines
1.8 KiB
Python
51 lines
1.8 KiB
Python
load("@prysm//tools/go:def.bzl", "go_library", "go_test")
|
|
|
|
go_library(
|
|
name = "go_default_library",
|
|
srcs = [
|
|
"custom_handlers.go",
|
|
"custom_hooks.go",
|
|
"endpoint_factory.go",
|
|
"structs.go",
|
|
"structs_marshalling.go",
|
|
],
|
|
importpath = "github.com/prysmaticlabs/prysm/beacon-chain/rpc/apimiddleware",
|
|
visibility = ["//beacon-chain:__subpackages__"],
|
|
deps = [
|
|
"//api/gateway/apimiddleware:go_default_library",
|
|
"//api/grpc:go_default_library",
|
|
"//beacon-chain/rpc/eth/events:go_default_library",
|
|
"//config/params:go_default_library",
|
|
"//encoding/bytesutil:go_default_library",
|
|
"//proto/eth/v2:go_default_library",
|
|
"//time/slots:go_default_library",
|
|
"@com_github_ethereum_go_ethereum//common/hexutil:go_default_library",
|
|
"@com_github_pkg_errors//:go_default_library",
|
|
"@com_github_prysmaticlabs_eth2_types//:go_default_library",
|
|
"@com_github_r3labs_sse//:go_default_library",
|
|
],
|
|
)
|
|
|
|
go_test(
|
|
name = "go_default_test",
|
|
srcs = [
|
|
"custom_handlers_test.go",
|
|
"custom_hooks_test.go",
|
|
"structs_marshalling_test.go",
|
|
],
|
|
embed = [":go_default_library"],
|
|
deps = [
|
|
"//api/gateway/apimiddleware:go_default_library",
|
|
"//api/grpc:go_default_library",
|
|
"//beacon-chain/rpc/eth/events:go_default_library",
|
|
"//config/params:go_default_library",
|
|
"//encoding/bytesutil:go_default_library",
|
|
"//proto/eth/v2:go_default_library",
|
|
"//testing/assert:go_default_library",
|
|
"//testing/require:go_default_library",
|
|
"//time/slots:go_default_library",
|
|
"@com_github_gogo_protobuf//types:go_default_library",
|
|
"@com_github_r3labs_sse//:go_default_library",
|
|
],
|
|
)
|