Skip to content

Commit ed05728

Browse files
author
colinlyguo
committed
add back fixme
1 parent b3e4667 commit ed05728

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

coordinator/internal/logic/provertask/batch_prover_task.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -293,6 +293,8 @@ func (bp *BatchProverTask) getBatchTaskDetail(dbBatch *orm.Batch, chunkInfos []*
293293
// | bytes32 | bytes32 | bytes48 | bytes48 |
294294
taskDetail.KzgProof = message.Byte48{Big: hexutil.Big(*new(big.Int).SetBytes(dbBatch.BlobDataProof[112:160]))}
295295
taskDetail.KzgCommitment = message.Byte48{Big: hexutil.Big(*new(big.Int).SetBytes(dbBatch.BlobDataProof[64:112]))}
296+
// FIXME: Challenge = ChallengeDigest % BLS_MODULUS, get the original ChallengeDigest.
297+
// Currently this is bypassed by disabling the sanity checks in the prover.
296298
taskDetail.ChallengeDigest = common.BytesToHash(dbBatch.BlobDataProof[0:32])
297299
return taskDetail, nil
298300
}

0 commit comments

Comments
 (0)