2018-07-07 17:23:19 +00:00
|
|
|
load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
|
|
|
|
|
|
|
|
go_library(
|
|
|
|
name = "go_default_library",
|
|
|
|
srcs = [
|
|
|
|
"contracts.go",
|
|
|
|
"sharding_manager.go",
|
|
|
|
"types.go",
|
|
|
|
],
|
|
|
|
importpath = "github.com/prysmaticlabs/geth-sharding/sharding/contracts",
|
2018-07-12 17:00:37 +00:00
|
|
|
visibility = ["//sharding:__subpackages__"],
|
2018-07-07 17:23:19 +00:00
|
|
|
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 = ["sharding_manager_test.go"],
|
|
|
|
embed = [":go_default_library"],
|
|
|
|
deps = [
|
|
|
|
"//sharding/params:go_default_library",
|
|
|
|
"@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//core/types:go_default_library",
|
|
|
|
"@com_github_ethereum_go_ethereum//crypto:go_default_library",
|
|
|
|
],
|
|
|
|
)
|