mirror of
https://github.com/OffchainLabs/prysm.git
synced 2026-01-09 15:37:56 -05:00
Former-commit-id: 4857afb2c25835b643cd58dd90b114695154b50f [formerly 5d2c723def807289eb72e6c35ce7036ef70f837e] Former-commit-id: 79c8f081748e29e00b61ace851f74c2252865729
39 lines
1.3 KiB
Python
39 lines
1.3 KiB
Python
load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
|
|
|
|
go_library(
|
|
name = "go_default_library",
|
|
srcs = [
|
|
"collation.go",
|
|
"interfaces.go",
|
|
"shard.go",
|
|
],
|
|
importpath = "github.com/prysmaticlabs/geth-sharding/sharding/types",
|
|
visibility = ["//sharding:__subpackages__"],
|
|
deps = [
|
|
"//sharding/utils: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/sha3:go_default_library",
|
|
"@com_github_ethereum_go_ethereum//ethdb:go_default_library",
|
|
"@com_github_ethereum_go_ethereum//rlp:go_default_library",
|
|
],
|
|
)
|
|
|
|
go_test(
|
|
name = "go_default_test",
|
|
srcs = [
|
|
"collation_test.go",
|
|
"shard_test.go",
|
|
],
|
|
embed = [":go_default_library"],
|
|
deps = [
|
|
"//sharding/database:go_default_library",
|
|
"//sharding/utils: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/sha3:go_default_library",
|
|
"@com_github_ethereum_go_ethereum//ethdb:go_default_library",
|
|
"@com_github_ethereum_go_ethereum//rlp:go_default_library",
|
|
],
|
|
)
|