mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2024-12-23 11:57:18 +00:00
20f4d21b83
* Initial setup * Fix + Cleanup * Add query * Fix * Add epoch * James' review part 1 * James' review part 2 * James' review part 3 * Radek' review * Gazelle * Fix cycle * Start unit test * fixing part of the test * Mostly fix test * Fix tests * Cleanup * Handle error * Remove times * Fix all tests * Fix accidental deletion * Unmarshal epoch * Add custom_type * Small fix * Fix epoch * Lint fix * Add test + fix empty query panic * Add comment * Fix regex * Add correct error message * Change current epoch to use slot * Return error if incorrect epoch passed * Remove redundant type conversion * Fix tests * gaz * Remove nodeClient + pass slot * Remove slot from parameters * Fix tests * Fix test attempt 2 * Fix test attempt 2 * Remove nodeClient from ProposeExit * Fix * Fix tests --------- Co-authored-by: james-prysm <james@prysmaticlabs.com> Co-authored-by: james-prysm <90280386+james-prysm@users.noreply.github.com>
34 lines
950 B
Python
34 lines
950 B
Python
load("@prysm//tools/go:def.bzl", "go_library", "go_test")
|
|
|
|
go_library(
|
|
name = "go_default_library",
|
|
srcs = [
|
|
"custom_hooks.go",
|
|
"endpoint_factory.go",
|
|
"structs.go",
|
|
],
|
|
importpath = "github.com/prysmaticlabs/prysm/v4/validator/rpc/apimiddleware",
|
|
visibility = ["//visibility:public"],
|
|
deps = [
|
|
"//api/gateway/apimiddleware:go_default_library",
|
|
"@com_github_pkg_errors//:go_default_library",
|
|
],
|
|
)
|
|
|
|
go_test(
|
|
name = "go_default_test",
|
|
srcs = [
|
|
"custom_hooks_test.go",
|
|
"structs_test.go",
|
|
],
|
|
embed = [":go_default_library"],
|
|
deps = [
|
|
"//api/gateway/apimiddleware:go_default_library",
|
|
"//config/fieldparams:go_default_library",
|
|
"//proto/eth/service:go_default_library",
|
|
"//testing/assert:go_default_library",
|
|
"//testing/require:go_default_library",
|
|
"@com_github_pkg_errors//:go_default_library",
|
|
],
|
|
)
|