Skip to content

Commit

Permalink
[R4R]: delete error judge logic (#1337)
Browse files Browse the repository at this point in the history
# Goals of PR

Core changes:

- delete error judge logic

Notes:

- Write notes here

Related Issues:

- Link issues here
  • Loading branch information
tw5428561 authored Aug 9, 2023
2 parents 10f6f93 + b0736b3 commit d67a238
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions mt-batcher/services/sequencer/driver.go
Original file line number Diff line number Diff line change
Expand Up @@ -807,11 +807,6 @@ func (d *Driver) RollupMainWorker() {
continue
}
log.Info("MtBatcher get batch block range", "start", start, "end", end)
waitedRollupTxs := new(big.Int).Sub(end, start)
if big.NewInt(int64(d.Cfg.RollUpMinTxn)).Cmp(waitedRollupTxs) > 0 {
log.Info("MtBatcher rollup total transaction less than minimum transations in config", "RollUpMinTxn", d.Cfg.RollUpMinTxn, "waitedRollupTxs", waitedRollupTxs)
continue
}
aggregateTxData, startL2BlockNumber, endL2BlockNumber := d.TxAggregator(
d.Ctx, start, end,
)
Expand Down

0 comments on commit d67a238

Please sign in to comment.