github.com/prysmaticlabs/prysm@v1.4.4/shared/testutil/BUILD.bazel (about) 1 load("@prysm//tools/go:def.bzl", "go_library", "go_test") 2 3 go_library( 4 name = "go_default_library", 5 testonly = True, 6 srcs = [ 7 "attestation.go", 8 "bazel.go", 9 "block.go", 10 "deposits.go", 11 "helpers.go", 12 "state.go", 13 "wait_timeout.go", 14 ], 15 importpath = "github.com/prysmaticlabs/prysm/shared/testutil", 16 visibility = ["//visibility:public"], 17 deps = [ 18 "//beacon-chain/core/helpers:go_default_library", 19 "//beacon-chain/core/state:go_default_library", 20 "//beacon-chain/state/interface:go_default_library", 21 "//beacon-chain/state/v1:go_default_library", 22 "//proto/beacon/p2p/v1:go_default_library", 23 "//proto/eth/v1:go_default_library", 24 "//proto/eth/v1alpha1:go_default_library", 25 "//proto/eth/v1alpha1/wrapper:go_default_library", 26 "//shared/bls:go_default_library", 27 "//shared/bytesutil:go_default_library", 28 "//shared/hashutil:go_default_library", 29 "//shared/interop:go_default_library", 30 "//shared/params:go_default_library", 31 "//shared/rand:go_default_library", 32 "//shared/trieutil:go_default_library", 33 "@com_github_ethereum_go_ethereum//common/hexutil:go_default_library", 34 "@com_github_pkg_errors//:go_default_library", 35 "@com_github_prysmaticlabs_eth2_types//:go_default_library", 36 "@com_github_prysmaticlabs_go_bitfield//:go_default_library", 37 "@com_github_sirupsen_logrus//:go_default_library", 38 "@io_bazel_rules_go//go/tools/bazel:go_default_library", 39 ], 40 ) 41 42 go_test( 43 name = "go_default_test", 44 srcs = [ 45 "attestation_test.go", 46 "block_test.go", 47 "deposits_test.go", 48 "helpers_test.go", 49 "state_test.go", 50 ], 51 embed = [":go_default_library"], 52 deps = [ 53 "//beacon-chain/core/helpers:go_default_library", 54 "//beacon-chain/core/state:go_default_library", 55 "//beacon-chain/core/state/stateutils:go_default_library", 56 "//proto/beacon/p2p/v1:go_default_library", 57 "//proto/eth/v1:go_default_library", 58 "//proto/eth/v1alpha1:go_default_library", 59 "//proto/eth/v1alpha1/wrapper:go_default_library", 60 "//shared/bytesutil:go_default_library", 61 "//shared/params:go_default_library", 62 "//shared/testutil/assert:go_default_library", 63 "//shared/testutil/require:go_default_library", 64 "@com_github_prysmaticlabs_eth2_types//:go_default_library", 65 "@org_golang_google_protobuf//proto:go_default_library", 66 ], 67 )