2021-09-29 02:27:21 +00:00
|
|
|
load("@prysm//tools/go:def.bzl", "go_library", "go_test")
|
|
|
|
|
|
|
|
go_library(
|
|
|
|
name = "go_default_library",
|
|
|
|
testonly = True,
|
|
|
|
srcs = [
|
|
|
|
"attestation_generator.go",
|
|
|
|
"block_generator.go",
|
|
|
|
"simulator.go",
|
|
|
|
],
|
2023-03-17 18:52:56 +00:00
|
|
|
importpath = "github.com/prysmaticlabs/prysm/v4/testing/slasher/simulator",
|
2021-09-29 02:27:21 +00:00
|
|
|
visibility = [
|
2021-09-30 20:28:14 +00:00
|
|
|
"//testing/endtoend:__subpackages__",
|
2021-09-29 02:27:21 +00:00
|
|
|
],
|
|
|
|
deps = [
|
|
|
|
"//async/event:go_default_library",
|
|
|
|
"//beacon-chain/blockchain:go_default_library",
|
|
|
|
"//beacon-chain/core/feed/state:go_default_library",
|
|
|
|
"//beacon-chain/core/helpers:go_default_library",
|
|
|
|
"//beacon-chain/core/signing:go_default_library",
|
|
|
|
"//beacon-chain/db:go_default_library",
|
|
|
|
"//beacon-chain/operations/slashings:go_default_library",
|
|
|
|
"//beacon-chain/slasher:go_default_library",
|
2023-05-03 04:34:01 +00:00
|
|
|
"//beacon-chain/startup:go_default_library",
|
2021-09-29 02:27:21 +00:00
|
|
|
"//beacon-chain/state:go_default_library",
|
|
|
|
"//beacon-chain/state/stategen:go_default_library",
|
2021-12-06 21:45:38 +00:00
|
|
|
"//beacon-chain/sync:go_default_library",
|
2021-09-29 02:27:21 +00:00
|
|
|
"//config/params:go_default_library",
|
2022-04-29 14:32:11 +00:00
|
|
|
"//consensus-types/primitives:go_default_library",
|
2021-09-29 02:27:21 +00:00
|
|
|
"//crypto/bls:go_default_library",
|
|
|
|
"//crypto/rand:go_default_library",
|
|
|
|
"//encoding/bytesutil:go_default_library",
|
|
|
|
"//proto/prysm/v1alpha1:go_default_library",
|
|
|
|
"//time/slots:go_default_library",
|
|
|
|
"@com_github_sirupsen_logrus//:go_default_library",
|
|
|
|
],
|
|
|
|
)
|
|
|
|
|
|
|
|
go_test(
|
|
|
|
name = "go_default_test",
|
|
|
|
srcs = [
|
|
|
|
"attestation_generator_test.go",
|
|
|
|
"block_generator_test.go",
|
|
|
|
"simulator_test.go",
|
|
|
|
],
|
|
|
|
embed = [":go_default_library"],
|
|
|
|
deps = [
|
|
|
|
"//beacon-chain/blockchain/testing:go_default_library",
|
|
|
|
"//beacon-chain/db/testing:go_default_library",
|
2022-01-26 14:48:20 +00:00
|
|
|
"//beacon-chain/state/stategen/mock:go_default_library",
|
2021-09-29 02:27:21 +00:00
|
|
|
"//config/params:go_default_library",
|
2022-04-29 14:32:11 +00:00
|
|
|
"//consensus-types/primitives:go_default_library",
|
2021-09-29 02:27:21 +00:00
|
|
|
"//crypto/bls:go_default_library",
|
|
|
|
"//proto/prysm/v1alpha1:go_default_library",
|
|
|
|
"//proto/prysm/v1alpha1/slashings:go_default_library",
|
|
|
|
"//testing/require:go_default_library",
|
|
|
|
"//testing/util:go_default_library",
|
|
|
|
],
|
|
|
|
)
|