Skip to content

Commit

Permalink
DataColumnIdentifier and DataColumnSidecar: Generate in Fulu inst…
Browse files Browse the repository at this point in the history
…ead of Deneb. (#14651)
  • Loading branch information
nalepae authored Nov 21, 2024
1 parent 5a6c230 commit 5555105
Show file tree
Hide file tree
Showing 3 changed files with 397 additions and 373 deletions.
21 changes: 19 additions & 2 deletions proto/prysm/v1alpha1/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -142,8 +142,6 @@ ssz_deneb_objs = [
"LightClientHeaderDeneb",
"LightClientOptimisticUpdateDeneb",
"LightClientUpdateDeneb",
"DataColumnIdentifier",
"DataColumnSidecar",
"SignedBeaconBlockContentsDeneb",
"SignedBeaconBlockDeneb",
"SignedBlindedBeaconBlockDeneb",
Expand Down Expand Up @@ -174,6 +172,11 @@ ssz_electra_objs = [
"SignedConsolidation",
]

ssz_fulu_objs = [
"DataColumnIdentifier",
"DataColumnSidecar",
]

ssz_gen_marshal(
name = "ssz_generated_phase0",
out = "phase0.ssz.go",
Expand Down Expand Up @@ -251,6 +254,19 @@ ssz_gen_marshal(
objs = ssz_electra_objs,
)

ssz_gen_marshal(
name = "ssz_generated_fulu",
out = "fulu.ssz.go",
exclude_objs = ssz_phase0_objs + ssz_altair_objs + ssz_bellatrix_objs + ssz_capella_objs + ssz_deneb_objs + ssz_electra_objs,
go_proto = ":go_proto",
includes = [
"//consensus-types/primitives:go_default_library",
"//math:go_default_library",
"//proto/engine/v1:go_default_library",
],
objs = ssz_fulu_objs,
)

ssz_gen_marshal(
name = "ssz_generated_non_core",
out = "non-core.ssz.go",
Expand Down Expand Up @@ -315,6 +331,7 @@ go_library(
":ssz_generated_capella", # keep
":ssz_generated_deneb", # keep
":ssz_generated_electra", # keep
":ssz_generated_fulu", # keep
":ssz_generated_non_core", # keep
":ssz_generated_phase0", # keep
],
Expand Down
Loading

0 comments on commit 5555105

Please sign in to comment.