2022-02-09 20:54:56 +00:00
|
|
|
load("@prysm//tools/go:def.bzl", "go_library", "go_test")
|
2022-02-03 03:46:27 +00:00
|
|
|
|
|
|
|
go_library(
|
|
|
|
name = "go_default_library",
|
|
|
|
srcs = [
|
|
|
|
"client.go",
|
|
|
|
"errors.go",
|
|
|
|
"options.go",
|
|
|
|
],
|
|
|
|
importpath = "github.com/prysmaticlabs/prysm/beacon-chain/powchain/engine-api-client/v1",
|
|
|
|
visibility = ["//beacon-chain:__subpackages__"],
|
|
|
|
deps = [
|
|
|
|
"//proto/engine/v1:go_default_library",
|
2022-02-09 20:54:56 +00:00
|
|
|
"@com_github_ethereum_go_ethereum//common:go_default_library",
|
|
|
|
"@com_github_ethereum_go_ethereum//rpc:go_default_library",
|
|
|
|
"@com_github_pkg_errors//:go_default_library",
|
|
|
|
],
|
|
|
|
)
|
|
|
|
|
|
|
|
go_test(
|
|
|
|
name = "go_default_test",
|
|
|
|
srcs = ["client_test.go"],
|
|
|
|
embed = [":go_default_library"],
|
|
|
|
deps = [
|
2022-02-12 01:58:09 +00:00
|
|
|
"//config/fieldparams:go_default_library",
|
2022-02-09 20:54:56 +00:00
|
|
|
"//encoding/bytesutil:go_default_library",
|
|
|
|
"//proto/engine/v1:go_default_library",
|
|
|
|
"//testing/require:go_default_library",
|
|
|
|
"@com_github_ethereum_go_ethereum//common:go_default_library",
|
2022-02-03 03:46:27 +00:00
|
|
|
"@com_github_ethereum_go_ethereum//rpc:go_default_library",
|
|
|
|
"@com_github_pkg_errors//:go_default_library",
|
|
|
|
],
|
|
|
|
)
|