mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2024-12-24 20:37:17 +00:00
2624cd2b3c
Former-commit-id: b853fd1c3ea2284d30d7f3032cf83287c7198c10 [formerly c012daacceec9cb3497f1d066ee3ca2d20aa5b14] Former-commit-id: 0a5a60c296f878c7057b25fc759dec2487363d30
40 lines
1.5 KiB
Python
40 lines
1.5 KiB
Python
load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
|
|
|
|
go_library(
|
|
name = "go_default_library",
|
|
srcs = [
|
|
"proposer.go",
|
|
"service.go",
|
|
],
|
|
importpath = "github.com/prysmaticlabs/geth-sharding/sharding/proposer",
|
|
visibility = ["//visibility:public"],
|
|
deps = [
|
|
"//sharding/database:go_default_library",
|
|
"//sharding/mainchain:go_default_library",
|
|
"//sharding/p2p:go_default_library",
|
|
"//sharding/params:go_default_library",
|
|
"//sharding/syncer:go_default_library",
|
|
"//sharding/txpool:go_default_library",
|
|
"//sharding/types:go_default_library",
|
|
"@com_github_ethereum_go_ethereum//accounts:go_default_library",
|
|
"@com_github_ethereum_go_ethereum//accounts/abi/bind:go_default_library",
|
|
"@com_github_ethereum_go_ethereum//core/types:go_default_library",
|
|
"@com_github_ethereum_go_ethereum//event:go_default_library",
|
|
"@com_github_ethereum_go_ethereum//log:go_default_library",
|
|
],
|
|
)
|
|
|
|
go_test(
|
|
name = "go_default_test",
|
|
srcs = ["service_test.go"],
|
|
embed = [":go_default_library"],
|
|
deps = [
|
|
"//sharding/internal:go_default_library",
|
|
"//sharding/params: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//crypto:go_default_library",
|
|
],
|
|
)
|