Skip to content

Commit 1bb9d33

Browse files
committed
Remove Fulu block and state.
1 parent 81a2a17 commit 1bb9d33

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

61 files changed

+1498
-9581
lines changed

api/server/structs/block.go

-94
Original file line numberDiff line numberDiff line change
@@ -567,97 +567,3 @@ type (
567567
Consolidations []*ConsolidationRequest `json:"consolidations"`
568568
}
569569
)
570-
571-
// ----------------------------------------------------------------------------
572-
// Fulu
573-
// ----------------------------------------------------------------------------
574-
575-
type SignedBeaconBlockContentsFulu struct {
576-
SignedBlock *SignedBeaconBlockFulu `json:"signed_block"`
577-
KzgProofs []string `json:"kzg_proofs"`
578-
Blobs []string `json:"blobs"`
579-
}
580-
581-
type BeaconBlockContentsFulu struct {
582-
Block *BeaconBlockFulu `json:"block"`
583-
KzgProofs []string `json:"kzg_proofs"`
584-
Blobs []string `json:"blobs"`
585-
}
586-
587-
type SignedBeaconBlockFulu struct {
588-
Message *BeaconBlockFulu `json:"message"`
589-
Signature string `json:"signature"`
590-
}
591-
592-
var _ SignedMessageJsoner = &SignedBeaconBlockFulu{}
593-
594-
func (s *SignedBeaconBlockFulu) MessageRawJson() ([]byte, error) {
595-
return json.Marshal(s.Message)
596-
}
597-
598-
func (s *SignedBeaconBlockFulu) SigString() string {
599-
return s.Signature
600-
}
601-
602-
type BeaconBlockFulu struct {
603-
Slot string `json:"slot"`
604-
ProposerIndex string `json:"proposer_index"`
605-
ParentRoot string `json:"parent_root"`
606-
StateRoot string `json:"state_root"`
607-
Body *BeaconBlockBodyFulu `json:"body"`
608-
}
609-
610-
type BeaconBlockBodyFulu struct {
611-
RandaoReveal string `json:"randao_reveal"`
612-
Eth1Data *Eth1Data `json:"eth1_data"`
613-
Graffiti string `json:"graffiti"`
614-
ProposerSlashings []*ProposerSlashing `json:"proposer_slashings"`
615-
AttesterSlashings []*AttesterSlashingElectra `json:"attester_slashings"`
616-
Attestations []*AttestationElectra `json:"attestations"`
617-
Deposits []*Deposit `json:"deposits"`
618-
VoluntaryExits []*SignedVoluntaryExit `json:"voluntary_exits"`
619-
SyncAggregate *SyncAggregate `json:"sync_aggregate"`
620-
ExecutionPayload *ExecutionPayloadDeneb `json:"execution_payload"`
621-
BLSToExecutionChanges []*SignedBLSToExecutionChange `json:"bls_to_execution_changes"`
622-
BlobKzgCommitments []string `json:"blob_kzg_commitments"`
623-
ExecutionRequests *ExecutionRequests `json:"execution_requests"`
624-
}
625-
626-
type BlindedBeaconBlockFulu struct {
627-
Slot string `json:"slot"`
628-
ProposerIndex string `json:"proposer_index"`
629-
ParentRoot string `json:"parent_root"`
630-
StateRoot string `json:"state_root"`
631-
Body *BlindedBeaconBlockBodyFulu `json:"body"`
632-
}
633-
634-
type SignedBlindedBeaconBlockFulu struct {
635-
Message *BlindedBeaconBlockFulu `json:"message"`
636-
Signature string `json:"signature"`
637-
}
638-
639-
var _ SignedMessageJsoner = &SignedBlindedBeaconBlockFulu{}
640-
641-
func (s *SignedBlindedBeaconBlockFulu) MessageRawJson() ([]byte, error) {
642-
return json.Marshal(s.Message)
643-
}
644-
645-
func (s *SignedBlindedBeaconBlockFulu) SigString() string {
646-
return s.Signature
647-
}
648-
649-
type BlindedBeaconBlockBodyFulu struct {
650-
RandaoReveal string `json:"randao_reveal"`
651-
Eth1Data *Eth1Data `json:"eth1_data"`
652-
Graffiti string `json:"graffiti"`
653-
ProposerSlashings []*ProposerSlashing `json:"proposer_slashings"`
654-
AttesterSlashings []*AttesterSlashingElectra `json:"attester_slashings"`
655-
Attestations []*AttestationElectra `json:"attestations"`
656-
Deposits []*Deposit `json:"deposits"`
657-
VoluntaryExits []*SignedVoluntaryExit `json:"voluntary_exits"`
658-
SyncAggregate *SyncAggregate `json:"sync_aggregate"`
659-
ExecutionPayloadHeader *ExecutionPayloadHeaderDeneb `json:"execution_payload_header"`
660-
BLSToExecutionChanges []*SignedBLSToExecutionChange `json:"bls_to_execution_changes"`
661-
BlobKzgCommitments []string `json:"blob_kzg_commitments"`
662-
ExecutionRequests *ExecutionRequests `json:"execution_requests"`
663-
}

0 commit comments

Comments
 (0)