Skip to content

Commit

Permalink
chore(proposer): logs
Browse files Browse the repository at this point in the history
  • Loading branch information
ratankaliani committed Jan 16, 2025
1 parent 497e061 commit 3c99769
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions proposer/op/proposer/driver.go
Original file line number Diff line number Diff line change
Expand Up @@ -663,29 +663,29 @@ func (l *L2OutputSubmitter) loopL2OO(ctx context.Context) {
continue
}

// 3) Determine if there is a continguous chain of span proofs starting from the latest block on the L2OO contract.
// 4) Determine if there is a continguous chain of span proofs starting from the latest block on the L2OO contract.
// If there is, queue an aggregate proof for all of the span proofs.
l.Log.Info("Stage 3: Deriving Agg Proofs...")
l.Log.Info("Stage 4: Deriving Agg Proofs...")
err = l.DeriveAggProofs(ctx)
if err != nil {
l.Log.Error("failed to generate pending agg proofs", "err", err)
continue
}

// 4) Request all unrequested proofs from the prover network.
// 5) Request all unrequested proofs from the prover network.
// Any DB entry with status = "UNREQ" means it's queued up and ready.
// We request all of these (both span and agg) from the prover network.
// For agg proofs, we also checkpoint the blockhash in advance.
l.Log.Info("Stage 4: Requesting Queued Proofs...")
l.Log.Info("Stage 5: Requesting Queued Proofs...")
err = l.RequestQueuedProofs(ctx)
if err != nil {
l.Log.Error("failed to request unrequested proofs", "err", err)
continue
}

// 5) Submit agg proofs on chain.
// 6) Submit agg proofs on chain.
// If we have a completed agg proof waiting in the DB, we submit them on chain.
l.Log.Info("Stage 5: Submitting Agg Proofs...")
l.Log.Info("Stage 6: Submitting Agg Proofs...")
err = l.SubmitAggProofs(ctx)
if err != nil {
l.Log.Error("failed to submit agg proofs", "err", err)
Expand Down

0 comments on commit 3c99769

Please sign in to comment.