mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2024-12-26 21:27:19 +00:00
77b8b13eff
* refactor GetBlockV2 * Add bellatrix to GetBlockSSZV2 * Add bellatrix to ListBlockAttestations * Add bellatrix to SubmitBlock * gzl * return error from SubmitBlock * return nil * Better code flow when getting blocks * remove tautology Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
47 lines
1.6 KiB
Python
47 lines
1.6 KiB
Python
load("@prysm//tools/go:def.bzl", "go_library", "go_test")
|
|
|
|
go_library(
|
|
name = "go_default_library",
|
|
srcs = [
|
|
"enums.go",
|
|
"v1alpha1_to_v1.go",
|
|
"v1alpha1_to_v2.go",
|
|
],
|
|
importpath = "github.com/prysmaticlabs/prysm/proto/migration",
|
|
visibility = ["//visibility:public"],
|
|
deps = [
|
|
"//beacon-chain/state:go_default_library",
|
|
"//encoding/bytesutil:go_default_library",
|
|
"//proto/eth/v1:go_default_library",
|
|
"//proto/eth/v2:go_default_library",
|
|
"//proto/prysm/v1alpha1:go_default_library",
|
|
"//proto/prysm/v1alpha1/block:go_default_library",
|
|
"@com_github_pkg_errors//:go_default_library",
|
|
"@org_golang_google_protobuf//proto:go_default_library",
|
|
],
|
|
)
|
|
|
|
go_test(
|
|
name = "go_default_test",
|
|
srcs = [
|
|
"enums_test.go",
|
|
"v1alpha1_to_v1_test.go",
|
|
"v1alpha1_to_v2_test.go",
|
|
],
|
|
embed = [":go_default_library"],
|
|
deps = [
|
|
"//config/fieldparams:go_default_library",
|
|
"//encoding/bytesutil:go_default_library",
|
|
"//proto/engine/v1:go_default_library",
|
|
"//proto/eth/v1:go_default_library",
|
|
"//proto/eth/v2:go_default_library",
|
|
"//proto/prysm/v1alpha1:go_default_library",
|
|
"//proto/prysm/v1alpha1/wrapper:go_default_library",
|
|
"//testing/assert:go_default_library",
|
|
"//testing/require:go_default_library",
|
|
"//testing/util:go_default_library",
|
|
"@com_github_prysmaticlabs_eth2_types//:go_default_library",
|
|
"@com_github_prysmaticlabs_go_bitfield//:go_default_library",
|
|
],
|
|
)
|