mirror of
https://github.com/OffchainLabs/prysm.git
synced 2026-01-09 15:37:56 -05:00
* interfaces move * build fix * remove annoying warning * more build fixes * review * core code * tests part 1 * tests part 2 * TranslateParticipation doesn't need Electra * remove unused function * pending atts don't need Electra * tests part 3 * build fixes * review * remove newline * review * fix test
47 lines
1.2 KiB
Python
47 lines
1.2 KiB
Python
load("@prysm//tools/go:def.bzl", "go_library", "go_test")
|
|
|
|
go_library(
|
|
name = "go_default_library",
|
|
srcs = [
|
|
"committee_bits_mainnet.go",
|
|
"committee_bits_minimal.go", # keep
|
|
"committee_index.go",
|
|
"domain.go",
|
|
"epoch.go",
|
|
"execution_address.go",
|
|
"payload_id.go",
|
|
"randao.go",
|
|
"slot.go",
|
|
"sszbytes.go",
|
|
"sszuint64.go",
|
|
"validator.go",
|
|
"wei.go",
|
|
],
|
|
importpath = "github.com/prysmaticlabs/prysm/v5/consensus-types/primitives",
|
|
visibility = ["//visibility:public"],
|
|
deps = [
|
|
"//math:go_default_library",
|
|
"@com_github_prysmaticlabs_fastssz//:go_default_library",
|
|
"@com_github_prysmaticlabs_go_bitfield//:go_default_library",
|
|
],
|
|
)
|
|
|
|
go_test(
|
|
name = "go_default_test",
|
|
srcs = [
|
|
"committee_index_test.go",
|
|
"domain_test.go",
|
|
"epoch_test.go",
|
|
"slot_test.go",
|
|
"sszbytes_test.go",
|
|
"sszuint64_test.go",
|
|
"validator_test.go",
|
|
"wei_test.go",
|
|
],
|
|
embed = [":go_default_library"],
|
|
deps = [
|
|
"//math:go_default_library",
|
|
"//testing/require:go_default_library",
|
|
],
|
|
)
|