mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2024-12-22 19:40:37 +00:00
8143cc36bc
* Start adding "inject slashing into pool" * Attempt at slashing * Remove unneded * Fix * Begin adding slasher client to e2e * Start slasher in e2e * Get slashing detection working * Get slashing evaluators working * Progress on e2e * Cleanup e2e * Fix slasher e2e! * lint * Comment * Fixes * Improve accuracy of balance check * REmove extra * Remove extra * Make more accurate
68 lines
2.2 KiB
Python
68 lines
2.2 KiB
Python
load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
|
|
|
|
go_test(
|
|
name = "go_default_test",
|
|
size = "large",
|
|
srcs = [
|
|
"demo_e2e_test.go",
|
|
"endtoend_test.go",
|
|
"minimal_e2e_test.go",
|
|
"minimal_slashing_e2e_test.go",
|
|
],
|
|
args = ["-test.v"],
|
|
data = [
|
|
"//beacon-chain",
|
|
"//validator",
|
|
"//slasher",
|
|
"@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_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",
|
|
"helpers.go",
|
|
"slasher.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",
|
|
"@io_bazel_rules_go//go/tools/bazel:go_default_library",
|
|
],
|
|
)
|