mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2025-01-10 19:51:20 +00:00
44 lines
1.9 KiB
Python
44 lines
1.9 KiB
Python
|
load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
|
||
|
|
||
|
go_library(
|
||
|
name = "go_default_library",
|
||
|
srcs = [
|
||
|
"interfaces.go",
|
||
|
"smc_client.go",
|
||
|
"utils.go",
|
||
|
],
|
||
|
importpath = "github.com/prysmaticlabs/geth-sharding/sharding/mainchain",
|
||
|
visibility = ["//visibility:public"],
|
||
|
deps = [
|
||
|
"//sharding/contracts:go_default_library",
|
||
|
"//sharding/params:go_default_library",
|
||
|
"@com_github_ethereum_go_ethereum//: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//accounts/keystore: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//ethclient:go_default_library",
|
||
|
"@com_github_ethereum_go_ethereum//log:go_default_library",
|
||
|
"@com_github_ethereum_go_ethereum//node:go_default_library",
|
||
|
"@com_github_ethereum_go_ethereum//rpc:go_default_library",
|
||
|
],
|
||
|
)
|
||
|
|
||
|
go_test(
|
||
|
name = "go_default_test",
|
||
|
srcs = ["smc_client_test.go"],
|
||
|
embed = [":go_default_library"],
|
||
|
deps = [
|
||
|
"//sharding:go_default_library",
|
||
|
"//sharding/contracts: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",
|
||
|
"@com_github_ethereum_go_ethereum//log:go_default_library",
|
||
|
"@com_github_ethereum_go_ethereum//params:go_default_library",
|
||
|
],
|
||
|
)
|