Skip to content

Commit e3b17a0

Browse files
author
colinlyguo
committed
add PostMsgQueueHash in chunk info
1 parent ef9e25f commit e3b17a0

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

common/types/message/message.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@ type ChunkInfo struct {
7979
TxBytes []byte `json:"tx_bytes"`
8080
TxBytesHash common.Hash `json:"tx_data_digest"`
8181
PrevMsgQueueHash common.Hash `json:"prev_msg_queue_hash"`
82+
PostMsgQueueHash common.Hash `json:"post_msg_queue_hash"`
8283
}
8384

8485
// SubCircuitRowUsage tracing info added in v0.11.0rc8

coordinator/internal/logic/provertask/batch_prover_task.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -230,6 +230,7 @@ func (bp *BatchProverTask) formatProverTask(ctx context.Context, task *orm.Prove
230230
WithdrawRoot: common.HexToHash(chunk.WithdrawRoot),
231231
DataHash: common.HexToHash(chunk.Hash),
232232
PrevMsgQueueHash: common.HexToHash(chunk.PrevL1MessageQueueHash),
233+
PostMsgQueueHash: common.HexToHash(chunk.PostL1MessageQueueHash),
233234
IsPadding: false,
234235
}
235236
if haloProot, ok := proof.(*message.Halo2ChunkProof); ok {

0 commit comments

Comments
 (0)