2020-07-03 18:49:16 +00:00
|
|
|
load("@io_bazel_rules_go//go:def.bzl", "go_test")
|
|
|
|
load("@prysm//tools/go:def.bzl", "go_library")
|
|
|
|
|
|
|
|
go_library(
|
|
|
|
name = "go_default_library",
|
|
|
|
srcs = ["deposit.go"],
|
|
|
|
importpath = "github.com/prysmaticlabs/prysm/shared/depositutil",
|
|
|
|
visibility = ["//visibility:public"],
|
|
|
|
deps = [
|
|
|
|
"//beacon-chain/core/helpers:go_default_library",
|
2020-08-03 13:25:19 +00:00
|
|
|
"//beacon-chain/state:go_default_library",
|
2020-07-22 22:21:41 +00:00
|
|
|
"//contracts/deposit-contract:go_default_library",
|
2020-07-03 18:49:16 +00:00
|
|
|
"//proto/beacon/p2p/v1:go_default_library",
|
|
|
|
"//shared/bls:go_default_library",
|
2020-07-29 04:19:07 +00:00
|
|
|
"//shared/featureconfig:go_default_library",
|
2020-07-03 18:49:16 +00:00
|
|
|
"//shared/hashutil:go_default_library",
|
|
|
|
"//shared/params:go_default_library",
|
2020-07-22 22:21:41 +00:00
|
|
|
"@com_github_ethereum_go_ethereum//core/types:go_default_library",
|
|
|
|
"@com_github_pkg_errors//:go_default_library",
|
2020-07-03 18:49:16 +00:00
|
|
|
"@com_github_prysmaticlabs_ethereumapis//eth/v1alpha1:go_default_library",
|
|
|
|
"@com_github_prysmaticlabs_go_ssz//:go_default_library",
|
2020-07-22 22:21:41 +00:00
|
|
|
"@com_github_sirupsen_logrus//:go_default_library",
|
2020-07-03 18:49:16 +00:00
|
|
|
],
|
|
|
|
)
|
|
|
|
|
|
|
|
go_test(
|
|
|
|
name = "go_default_test",
|
|
|
|
srcs = ["deposit_test.go"],
|
|
|
|
embed = [":go_default_library"],
|
|
|
|
deps = [
|
|
|
|
"//beacon-chain/core/helpers:go_default_library",
|
|
|
|
"//proto/beacon/p2p/v1:go_default_library",
|
|
|
|
"//shared/bls:go_default_library",
|
|
|
|
"//shared/params:go_default_library",
|
2020-07-29 04:19:07 +00:00
|
|
|
"//shared/testutil:go_default_library",
|
2020-07-19 21:08:29 +00:00
|
|
|
"//shared/testutil/assert:go_default_library",
|
|
|
|
"//shared/testutil/require:go_default_library",
|
2020-07-03 18:49:16 +00:00
|
|
|
"@com_github_prysmaticlabs_go_ssz//:go_default_library",
|
|
|
|
],
|
|
|
|
)
|