File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -542,7 +542,7 @@ func (s *Syncer) checkLastVerifiedBlockMismatch(ctx context.Context) (*rpc.Reorg
542
542
if err != nil {
543
543
return nil , err
544
544
}
545
- if s .state .GetL2Head ().Number .Uint64 () < stateVars .B .LastVerifiedBlockId || s .state .GetL2Head ().Number .Uint64 () > = s .state .OnTakeForkHeight .Uint64 () {
545
+ if s .state .GetL2Head ().Number .Uint64 () < stateVars .B .LastVerifiedBlockId || s .state .GetL2Head ().Number .Uint64 () < = s .state .OnTakeForkHeight .Uint64 () {
546
546
return reorgCheckResult , nil
547
547
}
548
548
Original file line number Diff line number Diff line change @@ -94,6 +94,11 @@ func (h *BlockProposedEventHandler) Handle(
94
94
end ()
95
95
return nil
96
96
}
97
+ if len (h .proofSubmissionCh ) == cap (h .proofSubmissionCh ) {
98
+ log .Info ("onBlockProposed callback early return" , "proofSubmissionChannelLength" , len (h .proofSubmissionCh ))
99
+ end ()
100
+ return nil
101
+ }
97
102
98
103
// Wait for the corresponding L2 block being mined in node.
99
104
if _ , err := h .rpc .WaitL2Header (ctx , meta .GetBlockID ()); err != nil {
You can’t perform that action at this time.
0 commit comments