2021-06-30 19:22:09 +00:00
|
|
|
load("@prysm//tools/go:def.bzl", "go_library", "go_test")
|
2018-07-12 17:00:37 +00:00
|
|
|
|
|
|
|
go_library(
|
|
|
|
name = "go_default_library",
|
2019-01-28 08:45:28 +00:00
|
|
|
srcs = [
|
2021-09-22 17:27:13 +00:00
|
|
|
"contract.go",
|
|
|
|
"deposit.go",
|
2022-01-26 14:48:20 +00:00
|
|
|
"helper.go",
|
2021-09-22 17:27:13 +00:00
|
|
|
"logs.go",
|
2019-01-28 08:45:28 +00:00
|
|
|
],
|
2024-02-15 05:46:47 +00:00
|
|
|
importpath = "github.com/prysmaticlabs/prysm/v5/contracts/deposit",
|
2018-07-12 17:00:37 +00:00
|
|
|
visibility = ["//visibility:public"],
|
|
|
|
deps = [
|
2021-09-27 16:19:20 +00:00
|
|
|
"//beacon-chain/core/signing:go_default_library",
|
2021-09-22 17:27:13 +00:00
|
|
|
"//config/params:go_default_library",
|
|
|
|
"//crypto/bls:go_default_library",
|
|
|
|
"//crypto/hash:go_default_library",
|
|
|
|
"//proto/prysm/v1alpha1:go_default_library",
|
2018-07-12 17:00:37 +00:00
|
|
|
"@com_github_ethereum_go_ethereum//:go_default_library",
|
|
|
|
"@com_github_ethereum_go_ethereum//accounts/abi:go_default_library",
|
|
|
|
"@com_github_ethereum_go_ethereum//accounts/abi/bind:go_default_library",
|
|
|
|
"@com_github_ethereum_go_ethereum//common:go_default_library",
|
|
|
|
"@com_github_ethereum_go_ethereum//core/types:go_default_library",
|
2019-01-16 14:01:21 +00:00
|
|
|
"@com_github_ethereum_go_ethereum//event:go_default_library",
|
2019-08-02 02:27:38 +00:00
|
|
|
"@com_github_pkg_errors//:go_default_library",
|
2018-07-12 17:00:37 +00:00
|
|
|
],
|
|
|
|
)
|
|
|
|
|
|
|
|
go_test(
|
|
|
|
name = "go_default_test",
|
2019-11-11 22:03:44 +00:00
|
|
|
size = "medium",
|
|
|
|
srcs = [
|
2021-09-22 17:27:13 +00:00
|
|
|
"contract_test.go",
|
|
|
|
"deposit_test.go",
|
2019-11-11 22:03:44 +00:00
|
|
|
"deposit_tree_test.go",
|
|
|
|
],
|
2018-07-12 17:00:37 +00:00
|
|
|
deps = [
|
2021-03-12 00:03:19 +00:00
|
|
|
":go_default_library",
|
2021-09-27 16:19:20 +00:00
|
|
|
"//beacon-chain/core/signing:go_default_library",
|
2021-09-21 19:59:25 +00:00
|
|
|
"//config/params:go_default_library",
|
2021-09-16 17:05:58 +00:00
|
|
|
"//container/trie:go_default_library",
|
2022-01-26 14:48:20 +00:00
|
|
|
"//contracts/deposit/mock:go_default_library",
|
2021-09-22 17:27:13 +00:00
|
|
|
"//crypto/bls:go_default_library",
|
|
|
|
"//proto/prysm/v1alpha1:go_default_library",
|
2021-09-21 18:11:16 +00:00
|
|
|
"//runtime/interop:go_default_library",
|
2021-09-23 18:53:46 +00:00
|
|
|
"//testing/assert:go_default_library",
|
|
|
|
"//testing/require:go_default_library",
|
|
|
|
"//testing/util:go_default_library",
|
2019-01-28 08:45:28 +00:00
|
|
|
"@com_github_ethereum_go_ethereum//:go_default_library",
|
2019-11-11 22:03:44 +00:00
|
|
|
"@com_github_ethereum_go_ethereum//accounts/abi/bind:go_default_library",
|
2018-07-12 17:00:37 +00:00
|
|
|
"@com_github_ethereum_go_ethereum//common:go_default_library",
|
|
|
|
],
|
|
|
|
)
|