2019-02-06 02:18:55 +00:00
|
|
|
load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
|
2018-11-07 19:07:41 +00:00
|
|
|
|
|
|
|
go_library(
|
|
|
|
name = "go_default_library",
|
|
|
|
srcs = [
|
2019-01-11 10:55:01 +00:00
|
|
|
"fork_choice_test_format.go",
|
|
|
|
"helpers.go",
|
2018-11-19 06:54:04 +00:00
|
|
|
"shuffle_test_format.go",
|
2018-11-07 19:07:41 +00:00
|
|
|
"simulated_backend.go",
|
2019-01-06 15:25:43 +00:00
|
|
|
"state_test_format.go",
|
2018-11-07 19:07:41 +00:00
|
|
|
],
|
|
|
|
importpath = "github.com/prysmaticlabs/prysm/beacon-chain/chaintest/backend",
|
2019-02-23 06:06:20 +00:00
|
|
|
visibility = ["//beacon-chain:__subpackages__"],
|
2018-11-07 19:07:41 +00:00
|
|
|
deps = [
|
|
|
|
"//beacon-chain/blockchain:go_default_library",
|
2019-04-10 06:52:06 +00:00
|
|
|
"//beacon-chain/core/blocks:go_default_library",
|
2019-02-19 18:05:34 +00:00
|
|
|
"//beacon-chain/core/helpers:go_default_library",
|
2019-01-06 15:25:43 +00:00
|
|
|
"//beacon-chain/core/state:go_default_library",
|
2018-11-07 19:07:41 +00:00
|
|
|
"//beacon-chain/db:go_default_library",
|
2018-11-19 06:54:04 +00:00
|
|
|
"//beacon-chain/utils:go_default_library",
|
2018-11-07 19:07:41 +00:00
|
|
|
"//proto/beacon/p2p/v1:go_default_library",
|
2019-02-20 05:07:28 +00:00
|
|
|
"//shared/bls:go_default_library",
|
2019-03-12 23:39:13 +00:00
|
|
|
"//shared/forkutil:go_default_library",
|
2019-02-26 03:42:31 +00:00
|
|
|
"//shared/hashutil:go_default_library",
|
2018-11-18 16:39:35 +00:00
|
|
|
"//shared/params:go_default_library",
|
2019-01-31 02:53:58 +00:00
|
|
|
"//shared/sliceutil:go_default_library",
|
|
|
|
"//shared/trieutil:go_default_library",
|
2018-11-19 06:54:04 +00:00
|
|
|
"@com_github_ethereum_go_ethereum//common:go_default_library",
|
2018-11-07 19:07:41 +00:00
|
|
|
"@com_github_sirupsen_logrus//:go_default_library",
|
|
|
|
],
|
|
|
|
)
|
2019-02-06 02:18:55 +00:00
|
|
|
|
|
|
|
go_test(
|
|
|
|
name = "go_default_test",
|
|
|
|
srcs = ["simulated_backend_test.go"],
|
|
|
|
embed = [":go_default_library"],
|
2019-02-10 22:09:35 +00:00
|
|
|
deps = [
|
2019-02-23 06:06:20 +00:00
|
|
|
"//beacon-chain/db:go_default_library",
|
2019-03-26 15:40:55 +00:00
|
|
|
"//shared/featureconfig:go_default_library",
|
2019-02-10 22:09:35 +00:00
|
|
|
"//shared/params:go_default_library",
|
|
|
|
],
|
2019-02-06 02:18:55 +00:00
|
|
|
)
|