From c96e3f45574feef51d738797f2fae23f5226ad35 Mon Sep 17 00:00:00 2001 From: Chris Tian Date: Mon, 30 Dec 2024 14:05:58 -0800 Subject: [PATCH] fix: split midblock block number --- proposer/op/proposer/prove.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/proposer/op/proposer/prove.go b/proposer/op/proposer/prove.go index 00ba4278..ce2a88a7 100644 --- a/proposer/op/proposer/prove.go +++ b/proposer/op/proposer/prove.go @@ -102,7 +102,7 @@ func (l *L2OutputSubmitter) RetryRequest(req *ent.ProofRequest, status ProofStat l.Log.Error("failed to retry first half of proof request", "err", err) return err } - err = l.db.NewEntry(req.Type, midBlock+1, req.EndBlock) + err = l.db.NewEntry(req.Type, midBlock, req.EndBlock) if err != nil { l.Log.Error("failed to retry second half of proof request", "err", err) return err