mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2024-12-23 11:57:18 +00:00
7f41b69281
* Add ssz.HashRoot interface composition to BeaconBlock interface, move fork specific logic into it's own files * Remove needless underscore
48 lines
1.6 KiB
Python
48 lines
1.6 KiB
Python
load("@prysm//tools/go:def.bzl", "go_library", "go_test")
|
|
|
|
go_library(
|
|
name = "go_default_library",
|
|
srcs = [
|
|
"beacon_block.go",
|
|
"beacon_block_altair.go",
|
|
"beacon_block_bellatrix.go",
|
|
"beacon_block_phase0.go",
|
|
"metadata.go",
|
|
],
|
|
importpath = "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1/wrapper",
|
|
visibility = ["//visibility:public"],
|
|
deps = [
|
|
"//proto/engine/v1:go_default_library",
|
|
"//proto/prysm/v1alpha1:go_default_library",
|
|
"//proto/prysm/v1alpha1/block:go_default_library",
|
|
"//proto/prysm/v1alpha1/metadata:go_default_library",
|
|
"//runtime/version:go_default_library",
|
|
"@com_github_ferranbt_fastssz//:go_default_library",
|
|
"@com_github_pkg_errors//:go_default_library",
|
|
"@com_github_prysmaticlabs_eth2_types//:go_default_library",
|
|
"@com_github_prysmaticlabs_go_bitfield//:go_default_library",
|
|
"@org_golang_google_protobuf//proto:go_default_library",
|
|
],
|
|
)
|
|
|
|
go_test(
|
|
name = "go_default_test",
|
|
srcs = [
|
|
"beacon_block_altair_test.go",
|
|
"beacon_block_bellatrix_test.go",
|
|
"beacon_block_phase0_test.go",
|
|
"beacon_block_test.go",
|
|
],
|
|
deps = [
|
|
":go_default_library",
|
|
"//encoding/bytesutil:go_default_library",
|
|
"//proto/engine/v1:go_default_library",
|
|
"//proto/prysm/v1alpha1:go_default_library",
|
|
"//runtime/version: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",
|
|
],
|
|
)
|