Skip to content

Commit 4c4cff0

Browse files
author
colinlyguo
committed
temporarily mask KzgProof
1 parent 0df9ede commit 4c4cff0

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

common/types/message/message.go

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -99,12 +99,12 @@ func (e *Byte48) UnmarshalJSON(input []byte) error {
9999
// BatchTaskDetail is a type containing BatchTask detail.
100100
type BatchTaskDetail struct {
101101
// use one of the string of EuclidFork / EuclidV2Fork
102-
ForkName string `json:"fork_name"`
103-
ChunkInfos []*ChunkInfo `json:"chunk_infos"`
104-
ChunkProofs []ChunkProof `json:"chunk_proofs"`
105-
BatchHeader interface{} `json:"batch_header"`
106-
BlobBytes []byte `json:"blob_bytes"`
107-
KzgProof Byte48 `json:"kzg_proof,omitempty"`
102+
ForkName string `json:"fork_name"`
103+
ChunkInfos []*ChunkInfo `json:"chunk_infos"`
104+
ChunkProofs []ChunkProof `json:"chunk_proofs"`
105+
BatchHeader interface{} `json:"batch_header"`
106+
BlobBytes []byte `json:"blob_bytes"`
107+
// KzgProof Byte48 `json:"kzg_proof,omitempty"`
108108
KzgCommitment Byte48 `json:"kzg_commitment,omitempty"`
109109
ChallengeDigest *common.Hash `json:"challenge_digest,omitempty"`
110110
}

coordinator/internal/logic/provertask/batch_prover_task.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -293,7 +293,7 @@ func (bp *BatchProverTask) getBatchTaskDetail(dbBatch *orm.Batch, chunkInfos []*
293293
// | z | y | kzg_commitment | kzg_proof |
294294
// |---------|---------|----------------|-----------|
295295
// | bytes32 | bytes32 | bytes48 | bytes48 |
296-
taskDetail.KzgProof = message.Byte48{Big: hexutil.Big(*new(big.Int).SetBytes(dbBatch.BlobDataProof[112:160]))}
296+
// taskDetail.KzgProof = message.Byte48{Big: hexutil.Big(*new(big.Int).SetBytes(dbBatch.BlobDataProof[112:160]))}
297297
taskDetail.KzgCommitment = message.Byte48{Big: hexutil.Big(*new(big.Int).SetBytes(dbBatch.BlobDataProof[64:112]))}
298298

299299
return taskDetail, nil

0 commit comments

Comments
 (0)