mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2025-01-08 18:51:19 +00:00
30 lines
1.2 KiB
Python
30 lines
1.2 KiB
Python
|
load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
|
||
|
|
||
|
go_library(
|
||
|
name = "go_default_library",
|
||
|
srcs = ["validator_registration.go"],
|
||
|
importpath = "github.com/prysmaticlabs/geth-sharding/contracts",
|
||
|
visibility = ["//visibility:public"],
|
||
|
deps = [
|
||
|
"@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",
|
||
|
"@com_github_ethereum_go_ethereum//event:go_default_library",
|
||
|
],
|
||
|
)
|
||
|
|
||
|
go_test(
|
||
|
name = "go_default_test",
|
||
|
srcs = ["validator_registration_test.go"],
|
||
|
embed = [":go_default_library"],
|
||
|
deps = [
|
||
|
"@com_github_ethereum_go_ethereum//accounts/abi/bind:go_default_library",
|
||
|
"@com_github_ethereum_go_ethereum//accounts/abi/bind/backends:go_default_library",
|
||
|
"@com_github_ethereum_go_ethereum//common:go_default_library",
|
||
|
"@com_github_ethereum_go_ethereum//core:go_default_library",
|
||
|
"@com_github_ethereum_go_ethereum//crypto:go_default_library",
|
||
|
],
|
||
|
)
|