@@ -46,10 +46,13 @@ type ChunkTaskDetail struct {
46
46
47
47
// BatchTaskDetail is a type containing BatchTask detail.
48
48
type BatchTaskDetail struct {
49
- ChunkInfos []* ChunkInfo `json:"chunk_infos"`
50
- ChunkProofs []ChunkProof `json:"chunk_proofs"`
51
- BatchHeader interface {} `json:"batch_header"`
52
- BlobBytes []byte `json:"blob_bytes"`
49
+ ChunkInfos []* ChunkInfo `json:"chunk_infos"`
50
+ ChunkProofs []ChunkProof `json:"chunk_proofs"`
51
+ BatchHeader interface {} `json:"batch_header"`
52
+ BlobBytes []byte `json:"blob_bytes"`
53
+ KzgProof []byte `json:"kzg_proof"`
54
+ KzgCommitment []byte `json:"kzg_commitment"`
55
+ Challenge common.Hash `json:"challenge"`
53
56
}
54
57
55
58
// BundleTaskDetail consists of all the information required to describe the task to generate a proof for a bundle of batches.
@@ -59,14 +62,15 @@ type BundleTaskDetail struct {
59
62
60
63
// ChunkInfo is for calculating pi_hash for chunk
61
64
type ChunkInfo struct {
62
- ChainID uint64 `json:"chain_id"`
63
- PrevStateRoot common.Hash `json:"prev_state_root"`
64
- PostStateRoot common.Hash `json:"post_state_root"`
65
- WithdrawRoot common.Hash `json:"withdraw_root"`
66
- DataHash common.Hash `json:"data_hash"`
67
- IsPadding bool `json:"is_padding"`
68
- TxBytes []byte `json:"tx_bytes"`
69
- TxBytesHash common.Hash `json:"tx_data_digest"`
65
+ ChainID uint64 `json:"chain_id"`
66
+ PrevStateRoot common.Hash `json:"prev_state_root"`
67
+ PostStateRoot common.Hash `json:"post_state_root"`
68
+ WithdrawRoot common.Hash `json:"withdraw_root"`
69
+ DataHash common.Hash `json:"data_hash"`
70
+ IsPadding bool `json:"is_padding"`
71
+ TxBytes []byte `json:"tx_bytes"`
72
+ TxBytesHash common.Hash `json:"tx_data_digest"`
73
+ PrevMsgQueueHash common.Hash `json:"prev_msg_queue_hash"`
70
74
}
71
75
72
76
// SubCircuitRowUsage tracing info added in v0.11.0rc8
0 commit comments