Skip to content

Commit

Permalink
rename queue pending agg proofs
Browse files Browse the repository at this point in the history
  • Loading branch information
zobront committed Aug 6, 2024
1 parent dd53416 commit b37dc9e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions op-proposer/proposer/driver.go
Original file line number Diff line number Diff line change
Expand Up @@ -429,7 +429,7 @@ func (l *L2OutputSubmitter) updateRequestedProofs() error {
}
}

func (l *L2OutputSubmitter) generatePendingAggProofs(ctx context.Context) error {
func (l *L2OutputSubmitter) queuePendingAggProofs(ctx context.Context) error {
// Get the latest L2OO output
from, err := l.l2ooContract.LatestOutputIndex(&bind.CallOpts{Context: ctx})
if err != nil {
Expand Down Expand Up @@ -790,7 +790,7 @@ func (l *L2OutputSubmitter) loopL2OO(ctx context.Context) {
// 3) Determine if any agg proofs are ready to be submitted and queue them up.
// This is done by checking if we have contiguous span proofs from the last on chain
// output root through at least the submission interval.
err = l.generatePendingAggProofs()
err = l.queuePendingAggProofs()
if err != nil {
l.Log.Error("failed to generate pending agg proofs", "err", err)
break
Expand Down

0 comments on commit b37dc9e

Please sign in to comment.