Skip to content

Commit 2e7827e

Browse files
author
colinlyguo
committed
fix check
1 parent b8f7515 commit 2e7827e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

coordinator/internal/logic/provertask/prover_task.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -122,8 +122,8 @@ func (b *BaseProverTask) hardForkSanityCheck(ctx *gin.Context, taskCtx *proverTa
122122
}
123123

124124
// for backward compatibility, darwin chunk prover can still prove darwinV2 chunk tasks
125-
if taskCtx.taskType == message.ProofTypeChunk && hardForkName == "darwin" {
126-
return "darwinV2", nil
125+
if taskCtx.taskType == message.ProofTypeChunk && hardForkName == "darwinV2" && taskCtx.ProverVersion == "v4.4.56" {
126+
return hardForkName, nil
127127
}
128128

129129
if _, ok := taskCtx.HardForkNames[hardForkName]; !ok {

0 commit comments

Comments
 (0)