mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2024-12-25 12:57:18 +00:00
9333ede9a1
* Add validator mocks to script * Add more mocks * Generate all the mocks for Ivan * Change script to use relative paths and gofmt * bazel * Remove duplicates * Remove duplicated interfaces * change to shared/mock * Fix script and build Co-authored-by: terence tsao <terence@prysmaticlabs.com>
24 lines
794 B
Python
24 lines
794 B
Python
load("@prysm//tools/go:def.bzl", "go_library")
|
|
|
|
package(default_testonly = True)
|
|
|
|
go_library(
|
|
name = "go_default_library",
|
|
srcs = [
|
|
"beacon_chain_service_mock.go",
|
|
"beacon_service_mock.go",
|
|
"beacon_validator_client_mock.go",
|
|
"beacon_validator_server_mock.go",
|
|
"node_service_mock.go",
|
|
],
|
|
importpath = "github.com/prysmaticlabs/prysm/shared/mock",
|
|
visibility = ["//visibility:public"],
|
|
deps = [
|
|
"@com_github_gogo_protobuf//types:go_default_library",
|
|
"@com_github_golang_mock//gomock:go_default_library",
|
|
"@com_github_prysmaticlabs_ethereumapis//eth/v1alpha1:go_default_library",
|
|
"@org_golang_google_grpc//:go_default_library",
|
|
"@org_golang_google_grpc//metadata:go_default_library",
|
|
],
|
|
)
|