Skip to content

Commit 7097cc0

Browse files
committed
fix
Signed-off-by: noelwei <[email protected]>
1 parent f9de393 commit 7097cc0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

coordinator/internal/logic/provertask/batch_prover_task.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -291,8 +291,8 @@ func (bp *BatchProverTask) getBatchTaskDetail(dbBatch *orm.Batch, chunkInfos []*
291291
// | z | y | kzg_commitment | kzg_proof |
292292
// |---------|---------|----------------|-----------|
293293
// | bytes32 | bytes32 | bytes48 | bytes48 |
294-
taskDetail.KzgProof = hexutil.Big(*new(big.Int).SetBytes(dbBatch.BlobDataProof[112:160]))
295-
taskDetail.KzgCommitment = hexutil.Big(*new(big.Int).SetBytes(dbBatch.BlobDataProof[64:112]))
296-
taskDetail.ChallengeDigest = hexutil.Big(*new(big.Int).SetBytes(dbBatch.BlobDataProof[0:32])) // FIXME: Challenge = ChallengeDigest % BLS_MODULUS, get the original ChallengeDigest.
294+
taskDetail.KzgProof = message.Byte48{hexutil.Big(*new(big.Int).SetBytes(dbBatch.BlobDataProof[112:160]))}
295+
taskDetail.KzgCommitment = message.Byte48{hexutil.Big(*new(big.Int).SetBytes(dbBatch.BlobDataProof[64:112]))}
296+
taskDetail.ChallengeDigest = message.Byte48{hexutil.Big(*new(big.Int).SetBytes(dbBatch.BlobDataProof[0:32]))} // FIXME: Challenge = ChallengeDigest % BLS_MODULUS, get the original ChallengeDigest.
297297
return taskDetail, nil
298298
}

0 commit comments

Comments
 (0)