Skip to content

Commit

Permalink
revert coordinator changes
Browse files Browse the repository at this point in the history
  • Loading branch information
colinlyguo committed Nov 15, 2024
1 parent 4e12a90 commit 93f901c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions coordinator/internal/logic/provertask/batch_prover_task.go
Original file line number Diff line number Diff line change
Expand Up @@ -243,8 +243,8 @@ func (bp *BatchProverTask) getBatchTaskDetail(dbBatch *orm.Batch, chunkInfos []*
ChunkProofs: chunkProofs,
}

if encoding.CodecVersion(dbBatch.CodecVersion) != encoding.CodecV4 {
return nil, fmt.Errorf("unsupported codec version: %v, expected at least %v", dbBatch.CodecVersion, encoding.CodecV4)
if encoding.CodecVersion(dbBatch.CodecVersion) != encoding.CodecV3 && encoding.CodecVersion(dbBatch.CodecVersion) != encoding.CodecV4 {
return taskDetail, nil
}

codec, err := encoding.CodecFromVersion(encoding.CodecVersion(dbBatch.CodecVersion))
Expand Down

0 comments on commit 93f901c

Please sign in to comment.