prysm-pulse/endtoend/BUILD.bazel
Ivan Martinez 127f05d531
Allow easy plugin of featureflags into E2E (#4659)
* Enable easy plugin of featureflags into E2E

* Gazelle

* Fix text

* Fix whitespace
2020-01-26 21:42:10 -05:00

65 lines
2.2 KiB
Python

load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
go_test(
name = "go_default_test",
size = "enormous",
srcs = [
"demo_e2e_test.go",
"endtoend_test.go",
"minimal_e2e_test.go",
],
data = [
"//beacon-chain",
"//validator",
"@com_github_ethereum_go_ethereum//cmd/geth",
],
embed = [":go_default_library"],
shard_count = 2,
tags = [
"block-network",
"e2e",
"exclusive",
"manual",
"minimal",
],
deps = [
"//endtoend/evaluators:go_default_library",
"//shared/featureconfig:go_default_library",
"//shared/params:go_default_library",
"//shared/testutil:go_default_library",
"@com_github_gogo_protobuf//types:go_default_library",
"@com_github_pkg_errors//:go_default_library",
"@com_github_prysmaticlabs_ethereumapis//eth/v1alpha1:go_default_library",
"@io_bazel_rules_go//go/tools/bazel:go_default_library",
"@org_golang_google_grpc//:go_default_library",
],
)
go_library(
name = "go_default_library",
testonly = True,
srcs = [
"beacon_node.go",
"epochTimer.go",
"eth1.go",
"validator.go",
],
importpath = "github.com/prysmaticlabs/prysm/endtoend",
visibility = ["//endtoend:__subpackages__"],
deps = [
"//contracts/deposit-contract:go_default_library",
"//endtoend/evaluators:go_default_library",
"//shared/params:go_default_library",
"//shared/roughtime:go_default_library",
"//shared/testutil:go_default_library",
"@com_github_ethereum_go_ethereum//accounts/abi/bind:go_default_library",
"@com_github_ethereum_go_ethereum//accounts/keystore:go_default_library",
"@com_github_ethereum_go_ethereum//common:go_default_library",
"@com_github_ethereum_go_ethereum//core/types:go_default_library",
"@com_github_ethereum_go_ethereum//ethclient:go_default_library",
"@com_github_ethereum_go_ethereum//rpc:go_default_library",
"@com_github_pkg_errors//:go_default_library",
"@io_bazel_rules_go//go/tools/bazel:go_default_library",
],
)