Skip to content

Commit 5941eaa

Browse files
committed
feat: make version fulu compatible
1 parent b8081cd commit 5941eaa

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

syncer/syncer.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -475,7 +475,8 @@ func (s *BlobSyncer) toBlockAndBlobs(blockResp *structs.GetBlockV2Response, side
475475
err error
476476
)
477477
switch blockResp.Version {
478-
case version.String(version.Electra):
478+
case version.String(version.Electra), version.String(version.Fulu):
479+
// Fulu is compatible with Electra for blob structure, use the same processing logic
479480
clBlock, executionPayload, err = ToBlockAndExecutionPayloadElectra(blockResp)
480481
if err != nil {
481482
logging.Logger.Errorf("failed to convert to ToBlockAndExecutionPayloadElectra, err=%s", err.Error())

0 commit comments

Comments
 (0)