mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2025-01-08 18:51:19 +00:00
95a5b4945b
* fixes TestServer_ListAssignments_Pagination_InputOutOfRange * fixes TestServer_ListValidatorBalances_PaginationOutOfRange * fix TestServer_ListAttestations_Genesis * remove redundant TestServer_GetValidatorParticipation_DoesntExist and TestGetDuties_NextEpoch_CantFindValidatorIdx * Merge branch 'master' into fix-invalid-errcheck-tests * remove unnecessary import * fix TestStore_OnAttestation * fix TestStore_OnAttestationUsingCheckptCache * fix TestVerifyBlkDescendant * fix pagination tests * fix account v2 tests * fix account v2 tests (remote) * fix TestServer_JWTInterceptor_BadToken * Merge refs/heads/master into fix-invalid-errcheck-tests
24 lines
652 B
Python
24 lines
652 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 = ["pagination.go"],
|
|
importpath = "github.com/prysmaticlabs/prysm/shared/pagination",
|
|
visibility = ["//visibility:public"],
|
|
deps = [
|
|
"//shared/params:go_default_library",
|
|
"@com_github_pkg_errors//:go_default_library",
|
|
],
|
|
)
|
|
|
|
go_test(
|
|
name = "go_default_test",
|
|
srcs = ["pagination_test.go"],
|
|
embed = [":go_default_library"],
|
|
deps = [
|
|
"//shared/testutil/assert:go_default_library",
|
|
"//shared/testutil/require:go_default_library",
|
|
],
|
|
)
|