Skip to content

Commit

Permalink
Merge branch 'feat/coordinator_upgrade_4' of github.com:scroll-tech/s…
Browse files Browse the repository at this point in the history
…croll into feat/coordinator_upgrade_4
  • Loading branch information
georgehao committed Jul 8, 2024
2 parents 2e340c2 + b38ef5c commit c107078
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions coordinator/internal/logic/provertask/bundle_prover_task.go
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ func (bp *BundleProverTask) formatProverTask(ctx context.Context, task *orm.Prov
BatchProofs: batchProofs,
}

chunkProofsBytes, err := json.Marshal(taskDetail)
batchProofsBytes, err := json.Marshal(taskDetail)
if err != nil {
return nil, fmt.Errorf("failed to marshal chunk proofs, taskID:%s err:%w", task.TaskID, err)
}
Expand All @@ -229,7 +229,7 @@ func (bp *BundleProverTask) formatProverTask(ctx context.Context, task *orm.Prov
UUID: task.UUID.String(),
TaskID: task.TaskID,
TaskType: int(message.ProofTypeBundle),
TaskData: string(chunkProofsBytes),
TaskData: string(batchProofsBytes),
HardForkName: hardForkName,
}
return taskMsg, nil
Expand Down

0 comments on commit c107078

Please sign in to comment.